Hi,
It's because the 'up is degrees east of north' is (in my way of thinking about it) measuring the orientation of the up direction in the image on the sky itself. That is... Imagine two arrows on the sky above you, both starting from the sky point that is the center of the image. Arrow one points to the north celestial pole. Arrow 2 points in the same direction as up in the image. How far would you have to rotate arrow 1 anticlockwise (as you look up at it) to overlay arrow 2. That is 'up is degrees east of north'.
When you have performed one flip on the image (either H or V), it is a mirror image of the sky, so the rotation directions measured on the sky are the opposite of those measured in the image. When you have performed zero or two flips then the directions are the same.
Hope that makes sense,
Robin