I do not mind if a player does something stupid with their character and gets to face the consequences. I do, however, get frustrated when a GM pulls the gotcha on characters because the player did not do or say something the character would have done automatically because of their training or career.
I had a GM kill off the whole party because he said we did not say we were sealing up our Vacc Suits. I, as a player, may have not said it. I have never been to space, never owned a vacc suit, and I have never been trained in basic SOP for scout ship functions. But my character as a 5-term Scout would not have "forgotten" to do so before going through the airlock.
There is a clear difference between player being stupid and player being ignorant and thus assuming their character would know.