Why do vertical images flip horizontal after upload?
Probably the program looks on your mac to the orientation of the recording itself. Most cameras place information in the photo or it is taken in portrait or landscape. The program that reads the picture can then look at it and put the picture correctly on the screen.