JPEGs store orientation info in EXIF data: https://jdhao.github.io/2019/07/31/image_rotation_exif_info/
They upload images from their computer/phone that are in one orientation and we display it in the other orientation (because we scrub out the orientation info).