This is a very interesting piece of research, and I personally believe in this "effect": that a teacher's attitude towards math can easily be passed on to his/her students.

In this case, all the teachers studied were elementary and female. I figure the same could happen with male teachers too, affecting boys, if the teacher feared and/or disliked math. It's just a lot less likely because most elementary teachers are female, and also because math anxiety is more common among females.

Girls may learn math anxiety from female teachers

The article also points to the best solution: the elementary teachers need trained much better in math so they can teach it confidently, including teaching the concepts and the 'why's of math.

Elsewhere:

Girls inheriting math anxiety from female teachers? at Casting Out Nines

Math with Many Right Answers

23 hours ago