Why videos end up sideways
Phones record which way they were held, and most players read that. But when the phone was flat on a table, lying down, or locked in portrait while you filmed landscape, the video can open turned 90°. Some apps and messengers also ignore the rotation flag. Rotating in the editor and exporting a new MP4 bakes the correct orientation into the file, so it plays the right way everywhere.
