District I worked in has a “magnet school” - still public but you have to test to get in and it’s fairly nice - the rest of the schools are falling apart and literally violate fire codes with how packed they are. State policies let you transfer to whatever district you want.
So what happens is that (white, upper/middle class) parents will transfer their kids into the district to try to get into that school. If they don’t, they transfer to their home district. So the best funded school in the district doesn’t serve kids who live in the district. Only HS with a substantial white population.