I’ve found that a lot of the time when my iPhone misbehaves for some reason, a “hard reset” helps. On an iPhone 16:
Quickly press and release the volume up button.
Quickly press and release the volume down button.
Press and HOLD the large side button until the Apple logo appears, then release...