The demand has been increasing for like forever. The supply has never reacted to the increase in demand. The complete paralysis when it comes to rezoning is an equally valid proximal cause. The Bay Area hasn't been constructing housing to meet the demand caused by job growth, tech or otherwise, for 30-40 years now.