Additionally, I don't have numbers but Houston does seem to have much lower income inequality for the bulk of the population. The SF Bay Area is really good at churning a lot of moderately wealthy people through the tech industry, who far outearn anyone else, and end up bidding against each other for the available housing. I imagine Houston's energy industry creates far fewer moderately wealthy people who outstrip everyone else in income to this extent.
Finally, one big thing that Texas does very right is having strong property taxes instead of state income taxes. You don't have early homeowners holding on to their feudal properties while new workers struggle to make ends meet, as you do in California.