What do you think “fails” means exactly? How does Texas fail in a way that doesn’t harm innocent people in both Texas and the rest of the country/world?
Texas is larger (in both population and economy) than most countries in the world.
This is true, but Texans as a whole keep enabling these outcomes by both voting and supporting politicians that create it, as well as the state as a whole generally refusing aid.
It's one of the (many) reasons why I immediately moved out of the state when I had a chance. There's only so much that can be done when a lot of the states politics and environment is wholly self-destructive.
The Federal government enforces a few rules and then leaves things to the state and people. Obviously that means the state and people have no nanny to protect them from consequences of their decisions. If they drain their budgets fighting the civil rights of their population instead of fixing a problem then they might look like a lot of bankrupt municipalities. The US is obligated to let that happen.