Animate the rotation of a shotgun barrel
Thats because the "Origin" of the barrel is all the way to the right of the screen. Every object has an "Origin" and it is the yellow dot that appears every time you select an object. 
Here is a tutorial to explain what an origin is and how to change it. - https://www.youtube.com/watch?v=0FxrRdbk854