https://www.ipadforums.net/threads/photos-sent-from-ipad-arriving-upside-down.46379/
The iPad auto rotates the image to display it but is still taking it upside down then sending the upside down version when you share it if you hold it the "wrong way" around. The forum software simply displays what it sees without trying to interpret the Apple specific metadata attached to the image.