> why are cities in Red states such as Austin, Houston, Phoenix, Raleigh, Dallas have so much better infrastructure than Portland, Seattle, LA and San Francisco? Pot holes everywhere and homelessness out of control.

One obvious answer is age. It's cheap to build greenfield infrastructure.[1] It's expensive to rebuild infrastructure in dense areas, and that's before factoring in NIMBY pushback. (BTW, that expense is why the wealthy often live in older housing stock in cities. Maintaining an older home is expensive and thus a way to signal wealth. Once enough wealthy people move in you can start to condemn properties that aren't maintained to the same standard. Old money understands this dynamic very well. New money people conflate wealth with newness, which is poor people thinking.)

Regarding homeless: in dense, high-cost of living areas the homeless will be concentrated and adjacent and thus highly visible. As someone who grew up relatively poor, on occasion briefly homeless and often housing insecure, I assure you there are a ton of such people in suburbia, but they're spread out and hidden--couch surfing, pushed to the rural edges, and either scattered around or concentrated in hidden areas (e.g. trailer parks). And of course housing is generally cheaper in less dense areas--the middle classes build new neighborhoods in greenfield areas, then vacate them in a decade or two, making them available for the working classes and the poor. Suburban neighborhoods don't get recycled back up the income ladder like they do in cities. Gentrification in suburbia is rare; rather a new neighborhood is destined to be abandoned and forgotten by the middle classes.

Of course, much could be said regarding Portland's, Seattle's, and San Francisco's licentiousness regarding drug use and other aspects beyond geography and pricing that draw and concentrate the homeless, but those are somewhat unique to those cities, not a general phenomenon.

Regarding potholes: Those older suburban neighborhoods above are just as pothole-filled (if not more so) as any city downtown, but you won't see it because you have no reason to go there! While cities are highly income segregated--often much more so than suburbia--proximities are closer and infrastructure expenditures more equitable so you're far more likely to see the seedy underbelly of your regional community.

Regarding potholes in SF specifically, the city is halfway through a 20 year, multi-billion dollar water & sewer refurbishment plan. The roads are torn up across the city because of this. The Van Ness/Mission and Geary BRT projects are compounding the problem on two of the busiest thoroughfares, and since COVID-19 the city seems to have taken the opportunity to rip open the streets all over the place simultaneously, presumably (hopefully!) to get some of the most inconvenient segments and intersections out of the way earlier.

[1] Not just cheap, but often free. Alot of suburban infrastructure--streets, water, power--is built by the real estate developer. The cost is hidden in the original purchase price. Afterward the cost can't be hidden. Faced with the prospect of having to pay out of pocket, directly or through higher taxes, the middle class will elect to simply move on to greener pastures.