This is speculation as I prefer to not have a
phone but as with a camera how the picture
appears here could be how you hold your phone.
As some of your pictures are OK that may be
your issue. If you turn your phone sideways
it takes it sideways even though the image
appears vertical to you in your screen.
When you turn your phone 90 degrees all your
pictures flip no mater how you were holding
the phone when you took them- Right?
Also, I cant say for sure because I don’t know
how they were taken, really big pictures
seem to flip sometimes when posted here.
I copied your pictures in paint, reduced them
to 30% of the original size, and then rotated
them 90 degrees to the upright position.
Then stacked them in one file to post.
A "Boathouse Repair" is one that done without having tools or the skills to do it properly.