Better Ranked schools are a self filling prophecy, its mostly the type of parents who actually care about their kids what are willing to move to an area with better schools but because their parents actually care, they get more care in their childhood upbringing which makes the school ranking go up, even then funding isn't an end all. Just like life happiness peaks after you ear like 75k per year so does school effectiveness, some of the worst schools in the US get the most funding.
So close to a real, decent point, but ultimately you veered off and crashed into a wall.
You say it's parents who care about their kids who move to good schools. What's also something that's broadly true about where the good schools are located? What's also something that's broadly true about parents who have the wherewithal to move? Here's a hint: it starts with $.