I think the economic returns to "decent understanding of X plus decent communication skills" are much higher when X is math than when X is art or language or history, so you need a greater passion for teaching to select it in spite of that fact, and this shrinks the pool of good math teachers relative to other subjects.