It's like with users and computers. Instead of teaching people how a computer works and how you interact with one, they learn the exact sequence of steps they have to follow to make something happen.
I don't know for airplane pilot but in many life critical task assisted by computer, accidental behavior is the core of the training. Most of them use the "state based approach" developed by the nuclear industries after the Three Mile Island accident. Identify the actual state of yours devices, start by the worst scenario, do the associated procedure, iterate until it's in a safe state. You usually don't have enough time, global picture and cool head to analyze the situation.
Pilot are not robot executing blindly the procedure, the procedure only help them to focus and chose what's must be done first.