Usually it works ok. Now, all of a sudden the object rotates like a piston of a steam engine. The object moves around the work space staying horizontal. What’s happened???
You possibly changed the pivot center from median point to something else possibly. 2 icons to the right of where you select which mode you want to be in is the icon for changing the pivot center.