San Francisco is a city of young adults

San Francisco residents by age group and gender in 2020. Adults 25-35 come to San Francisco to work and then move out when they get older and have families. Note also that there are far more men than women in the 25-64 group.