Math and some sciences have the aura of definitive right and wrong, so even though by college everyone knows the expression "give the answer the teacher wants to hear", they just think in those subjects the teacher has access to absolute answers.
The primary thing taught by our schooling system (and 2nd place isn't even close) is bureaucracy obedience. This has the obvious effects, but one of the subtler ones is deference to "science" as an authority requiring obedience rather than the process of figuring shit out.