If iPhone isn’t responding, try forcing it to restart.
support.apple.com
2. When the frame freezes, does the video duration counter at the top also freeze or does it continue counting?
3. When you go to view the video, did you discover that the frame was frozen in the actual video as well, or was the camera still recording what you were pointing it at (but just not showing it "live")?
If iPhone isn’t responding, try forcing it to restart.
support.apple.com
2. When the frame freezes, does the video duration counter at the top also freeze or does it continue counting?
3. When you go to view the video, did you discover that the frame was frozen in the actual video as well, or was the camera still recording what you were pointing it at (but just not showing it "live")?
A factory restore erases the information and settings on your iPhone, iPad, or iPod and installs the latest version of iOS, iPadOS, or iPod software.
support.apple.com
Is this a new phone or still within the factory warranty? If within a return period, I'd probably just exchange it for a new one. If beyond the return period but within factory warranty, I'd reach out to Apple.
A factory restore erases the information and settings on your iPhone, iPad, or iPod and installs the latest version of iOS, iPadOS, or iPod software.
support.apple.com
Is this a new phone or still within the factory warranty? If within a return period, I'd probably just exchange it for a new one. If beyond the return period but within factory warranty, I'd reach out to Apple.