the problem with American education is cultural. other countries have stronger cultures around education.
and certain groups in America have very strong cultures around education, mostly Asians and wealthier people, but those are minorities in the broader culture which basically sees education as annoying and stupid crap they have to do to get a job, that they want to do in the cheapest way possible.
if being a teacher started at a salary of 80-100K, things would be a lot different. But it takes a decade or more of teaching to get that level of pay. The only people paid well in education are administrators, who are the ones who give themselves raises and stagnant teacher pay to their own benefit.
and it's the same at all levels of education, because American culture says 'be a greedy shitty person on top who enriches yourself at the expense of everyone else'. and we see the classroom as place to wage a culture war first and foremost, and education is much lower on the priority list.