Based on the reference text, what were the main reasons homeless people from outside of San Francisco went to San Francisco?

Homelessness in the San Francisco Bay Area

One of the primary causes of homelessness in the Bay Area is an insufficient supply of affordable housing.[42] Mass homelessness has several contributing factors, including: "Economic Dislocation", "Reduced Social Safety Nets", "Failed Housing Policy", "Mass Incarceration", "Family Instability", and other "Individual Causes" including mental health and physical wellness.[43] Reasons cited for homelessness in the 2019 survey commissioned by the City of San Francisco include job loss (26%), alcohol/drug use (18%), eviction (13%), argument/asked to leave by friend/family (12%), mental health issues (8%), and divorce/separation (5%).[44] 70% of people homeless in San Francisco in 2019 reported most recently becoming homeless while living in San Francisco: 22% came from another county within California, and 8% came from another state. However, of the 70% who had become homeless while living in San Francisco, 45% had only been in San Francisco for ten years or less, and 6% had only been in San Francisco for one year or less.[44] Reasons for coming from outside San Francisco at the time of homelessness include seeking a job (25%), LGBTQ acceptance (11%), accessing homeless services (22%), was visiting and decided to stay (17%), accessing VA services or clinic (5%), and family/friends are here (13%).

The reasons homeless people not from San Francisco went to San Francisco include:
1. Seeking a job
2. LGBTQ acceptance
3. Accessing homeless services
4. Was visiting and decided to stay
5. Family or friends live in San Francisco
6. Accessing VA services or clinic