In the 2000s, many younger people (sub-30s) moved to the bay area to participate in the boom.
When things went sideways, many returned to their home state and/or moved back in with their parents. The local San Francisco rental market subsequently crashed.