Well, some of us grew up here, so then there's the issue of "do I trade moving away from everyone I know to earn more money?".
Also, I'm not sure that everyone who makes the salary trade-off knows that they're doing so. Is a developer earning $35k/year thinking "I could earn more at another company, or in the Bay Area, but I like it here" or do they think they're earning a fairly average wage?