CA is as expensive as it is in large part because of NIMBYs and tax schemes that were absolutely the product of right-wing ballot initiatives for the most part. OTOH, a large part of the appeal of TX is that it doesn't have a state income tax, but the state is absolutely on the dole. IIRC TX takes in ~$150b from the Federal government, but only pays ~$100b into the system. CA (like NY) pays more into the system then it takes out, so about ~$50b of the annual budget of TX is literally bumming money from other states, albeit indirectly.
Which is a roundabout way of saying, the narrative about people moving from CA to TX often makes it sound like a narrative about left-wing economic policies vs. right-wing economic policies, but the reality is that CA is expensive in large part because of right-wing economic policies and TX is cheap in large part because it's basically on welfare from the Federal government. Which is fine, the system should allow economically healthier states to help the less successful states get by (looking at you KY), but it's so counter to the narrative that usually surrounds these stories that people tend to sweep it under the rug. And also TX is hardly an economically unhealthy, depressed state in need of assistance from the rest of the country. It should step up and stop being being a bum, because AFAICT it's not a bum but rather a state with well above-average prospects.