> usually by people who are good mathematicians but know close to nothing about teaching.
I higly doubt that. Maybe in university level courses. Most people’s only experience with mathematics is an elementary or high school teacher who were probably themselves at best mediocre at the subject. Simply because of selection factors. Those who are good at math are encouraged to go into STEM. There will be of course exceptions everywhere, but that is not what “usually” happens.
And thats just about being good at maths the school subject, which is distinct from being “ good mathematicians” the science / research topic. Mathematicians are few and far between, simply because it is a specialist subject. There just aren’t enough of them to go around for them to be the formative experience around math for most people.
[dead]
I think the problem is partly circular. Most people do not like maths. This includes most primary school teachers - in places I know primary school teachers are not subject specialists so just reflect the population of those with the required level of education in terms of their attitude to maths.
If you do not enjoy a subject, any subject, you cannot make it fun for those you teach. In the case of maths specifically its pretty bad: https://worrydream.com/refs/Lockhart_2002_-_A_Mathematician%...
My daughter hated maths when I took her out of school at the age of nine. A few years later she was very good at it and enjoying maths and STEM subjects. When she went to a sixth form college[1] she liked it well enough to pick it as one of her A levels[2].
[1] https://en.wikipedia.org/wiki/Sixth_form_college
[2] https://en.wikipedia.org/wiki/A-level