Animation is weird

When I first animated the rig with the gun, it was perfectly fine and on the ground but when I clicked on it again a couple weeks after, the body seemed to go upward.

Is the gun anchored? Does the same problem occur when a player is holding it with the animation playing, or is it just within the animator?