Base on those numbers, if you have $200k down payment, in TX, if you buy a $300k house, your $100k loan would cost you $477.42/month + $1,333/month is taxes + $400/month in energy. Your looking at ~$2200/month.
Lets say a comparable house in SD is $800k, your mortgage would be $2,864.49 + $733/month in taxes and ~$100/month in energy. You’re looking about ~$3700/month.
It’s still cheaper to be in TX (assuming my house price assumption is correct). However, after 30 years, after you pay off your house, it’ll be MUCH MUCH cheaper to be in CA than TX (assuming they don’t take away prop 13).