About exported image

Hi,
After performing alignment, the exported image is rotated by 90 degrees. Why is this?
I just input the images I took with iPhone.

Edit: sorry just I think i misunderstood with my last reply, please can you clarify? what image are you exporting?

Thank you for your reply.
The image I want to export is the original image.
When I select this from the Export menu, the images rotated by 90 degrees are exported.
スクリーンショット 2024-07-19 150931

This can sometimes happen with some portrait images, but they will work in RC just the same