transform tool not working properly.

So im creating a swinging tire swing, and I want it to swing back and forth, so I used the transform tool with the pivot at the top. When I rotate the swing and play it back, it dosent move on the pivot like you would think, it moves up and a weird way to get to the second keyframe.

I had to create a small dot and inverse kinetics to make a bone rig.