Precisely. "It's the economy, stupid". Among the employed and single in Silicon Valley, estimates are that there are three men for every two. It's an awful place to date, even beside the fact that nobody moves anywhere for the dating pool.
If there were a ton of high-paying tech jobs in Chicago that needed people to be local, a whole lot of people would buy a down coat and gloves and just deal with the weather, lack of nearby mountains etc.
I like the Bay Area. I'm even going there on a trip in a couple of days. But, at the end of the day, most people aren't basing where they live on the climate and recreational options (though those may make a difference at the margin).