The study of medicine is grounded in hard sciences. There are many things that are known and many that aren't known but usually the line between the two is relatively clear. When something works or doesn't work, it is also often very easy to see.
The study of education is based on social sciences and everything is much more slippery. What is being taught to teachers right now is whichever theory is currently popular. When I earned my credentials to teach, it was quite frankly a joke most of the time. Getting an A was easy. Many of the people in my program were not competent enough to compete in a more difficult field or program.
In the years since, as my own children began working through the public school system, I am taken aback regularly by evidence that their teachers are poorly educated themselves.
I'm shocked that someone would be surprised that there is a gap between how people view doctors and teachers.