Interesting question. My eldest and some other folks I know did just fine in math except for geometry. The teacher was clearly part of the issue with my eldest, but I think that a proof heavy geometry class is very different from other math courses. Dealing with proofs is mathematics, while a lot of the other courses are arithmetic. People can be good at arithmetic but not math (and the converse can be true).