Demand in metropolitan areas has drastically outpaced supply. Because zoning laws prevent increasing density and because the government got out of the housing business and put it entirely in the hands of the private market which doesn't like entry level homes because the profit margins are less.
As the cost of housing increases relative to median income homelessness increases. It's basically a control knob.