Compare the housing prices of what a three bedroom condo in sf (what a 2 child family wants) vs the other cities, plus the ability for mothers to take a couple years off work. Losing 15 to 20% of your salary to save 50% or more of housing costs is often a great deal.
So if all us engineers' salaries went up, it wouldn't help. We'd just end up spending even more to out compete each other. (Well, I guess it would help push non-engineers out of the Bay Area, but is that really what we want?)
But new immigrant salaries are as good as american salaries in terms of how much they can push prices up; so hiring H1-B is essentially similar to a pay cut for people (same $$, higher housing costs); following this pay cut some existing engineers will leave.
In the end you just end up with replacing some old engineers with new ones through a costly lengthy process.
This is the kind of absurd logical games one has to play in order to not acknowledge basic economics of supply and demand.
And on the other side, NIMBY's in low-density areas like Menlo Park and Atherton killed the restoration of the Dumbarton Bridge Rail (also victim of a mysterious arson recently) and are delaying electrification of the Caltrain. The Dumbarton Bridge, for example, would allow people to live on the East Bay and take direct rail into Palo Alto, Redwood City or Menlo Park, and up and down the corridor.