On Steam Deck, the game seems to crash whenever the game gets paused or unpaused. This doesn't necessarily mean you have to open the pause menu, for example if a tutorial prompt appears which pauses the game temporarily, closing it will almost always crash the game. This occurs in the free demo for the game on Steam as well if you'd like to see what's happening for yourself.