Verify for issues with overheating.
PS5 games may lead to the system overheat. If your PS5 gets overheated, it immediately shuts down to avoid the hardware from being damaged. There's not a notification or alert on the screen. The console turns off completely by itself. PS4 games aren't typically causing the console to overheat.