Please check if the game Performance Mode in PS5 is enabled.
In PS5: Setting > Save Data and Game/App Settings > Game Presets
If the above does not help, please refer to the official PS5 troubleshooting guide: https://www.playstation.com/en-us/support/hardware/ps5-4k-resolution-guide/