Why does iMovie not use the same codec as the iPhone
As an example of my question, I recorded a 14 second video on my iPhone XS Max and it is saved as 16Mb HEVC, looks good at 1080p. I add the file to iMovie and do nothing to change it, and it saves as an MP4 using High, Better Quality 1080p H264 codec making the file size over twice as big - 34Mb. And this still is not as crisp and clear as the original HEVC video from the phone. Does anyone know a way to retain image quality and not bloat out file sizes when exporting? I am using iMovie 10.3.6 on MacOS Monterey on an Intel iMac. Should I be using alternative software?
iMac 27″, macOS 12.6