Texas has a pretty strong and diversified economy. Lots of oil both in midland/Odessa and in the gulf. Energy sector is big in Houston. Decent tech presence in Austin although lots of focus on lower level jobs (phone/support/etc). Dallas has lots of finance. Manufacturing is big there too, and transportation.
One of the things I worried about when I moved out of Texas was leaving such a strong and diversified economy… but after Covid and the normalization of remote work, this is thankfully less of an issue now. I hope remote work is here to stay. It helps prevent the centralization of labor around existing cities and lets the wealth of society spread more uniformly throughout the country.