Many games automatically pause if the game loses focus so you don’t die or lose progress. This is a good quality of life improvement and could probably be enabled by default.
I frequently realize I have failed to pause before tabbing out, and since sound is muted in the background, I come back to realize I’m dead.