An average teacher of any subject (math, history, etc.) is themselves not an excellent practitioner of that subject, and therefore cannot convey the passion, insight, and depth of thinking that comes from engaging with the subject at the highest level, limiting the quality of learning that is possible.