do I try to figure out why a photo may be wrong? because as long as we keep the camera in any way, when we take the picture through the Theta application, the photo appears in the good.
When you import the pictures into your desktop application, the XMP data may get stripped out.
Try to connect the camera to your computer with a USB cable and then move the files to your computer manually, not using automatic import into an application.
The photo orientation correction is stored in the JPEG metadata.