How can I change rotating mode?
Your pivot point is set to the 3D Cursor, to change that you either need to press . and select "Median Point" to set it back to blender's default pivot point. or you can find the same options on the top of your 3D viewport as shown below: