Some questions regarding animating the camera

In most modern fps games, the player’s interaction with the viewmodel will also cause the camera to move. Such as in The Finals, and in COD, when the player reloads the weapon, the camera will be dragged around with the animation.

This following questioncame up to my mind regarding how to remake these types of stuff:
When you update the camera by a the difference in angles between the cameraBone of the viewmodel and the viewmodel “head”, the player’s camera just go crazy in circles because it’s constantly being multiplied with an angle. What are some potential solutions to this issue?