Photos always change direction?

Whenever I bring a new photo onto my iMac, it opens and is the same direction as I took it.. lets say, I took it while the phone was in portrait mode. When I upload it to my computer, it changes to landscape- and it also rotates to the right once.

Why?
I'd love to know. I take photos in portrait mode all the time. Once I upload to a pc, it saves it in landscape mode. I then have to edit each photo to portrait mode. Is this normal, surely not?

Original thread: https://forums.imore.com/threads/photos-always-change-direction.174941/