Why does a machine gun's horizontal rotation angle add to the rotation angle of the tank turret?

The solution to my problem was more complex than I expected. You can find the explanation in the video at 51:38.