Help with animations

In this new game, when the reload animation plays on any gun, the camera shakes a little bit with the animation and I have been trying to figure out ways to do this but I can’t. Does anyone have an idea how this is done?