Californians fleeing the the things they voted for, then voting for the very same things again. Is there a legal way Texas residents can block them coming?
Don't.
Texas, like many states, never misses an opportunity to trumpet the number of people moving there. Texas, like many states, spends a lot of money in the rest of the US trying to convince people and businesses to move there.
You got what you asked for. You got what you paid for.