> Attitudes around education in the US vary wildly across the population.
Is that in some way unique to the US? I would say the same is true here. Certainly when talking to people out on the street, there are clearly some who value schooling to the utmost degree while others dismiss it entirely. I expect this is the case anywhere a sizeable population is found.
> the people who want a good education for their kids want to be around the types of people who want a good education for their kids
…But I have never heard of this happening. Looking at the data, I don't see any significant variation between schools found within a general area where you might conceivably choose a different school by moving a few miles in another direction. A couple of schools in extremely remote areas show up with struggles, in the worst case seeing only ~40% of the students meeting the standard, but I think it is fair to say that the goings on in remote places is something else entirely.
> It can't hurt to have bright, engaged kids when trying to recruit and retain good teachers either.
So would it be reasonable to think that it is ultimately an issue of lacking teacher standards in the US? Different people are going to be different, sure, but around here you aren't allowed to be a teacher within the school system unless you at least are able to live up to a minimum standard that carries a sufficiently high bar such that there really aren't any qualms about what teacher a student gets.
I take from this that in the US, the schools that don't have sufficiently bright, sufficiently engaged kids are apt to get teachers who aren't capable of doing the job. Here, if a school lacking sufficiently bright, sufficiently engaged kids scared off good teachers, the school simply wouldn't have any teachers.
I don't expect it's unique to the US, but I can't speak for other areas. At least any time I've looked, real estate prices for the same floorplan home a couple neighborhoods over in a different school area can differ by a couple hundred thousand dollars, and "good schools" are a common thing for people to say they prioritize, so the effect seems real enough here. I've seen this in multiple cities/states.
Like I said, to a first approximation, "good schools" are much more about the kids and families than the teachers. Teachers in the US are required to have bachelors degrees, and I believe AP teachers need masters, so there's some bar (though I don't find degrees/credentialism to be particularly compelling). Good schools are where the students set good examples for each other and drive each other to do better. Bad schools are where you're automatically in the top half of your class merely for showing up and no peers treat education seriously, so you learn not to either. There's plenty of passable schools too where you can get an adequate education, but middle class and above tend to have higher expectations for their kids, and want all of their kids' friends to have the attitude that working hard in school is completely normal and expected (i.e. they want a "good school").
Schools in bad areas do have retention problems, and the government offers incentives to teach there, but teachers aren't miracle workers.