Animation lags when aiming in a certain angle

Here’s a video of what I mean. Whenever I pass by that angle while aiming, the rifle will snap, probably because of some bone movement. How do I figure out what’s causing it?