They have to have their HQ somewhere, and I suppose that’s where the top guys want to live. But there’s no reason why a distribution center should be taxed as if it were a retail outlet. Presumably that can be moved to a state that is less troublesome.
The reason Amazon has to fight this is that if they give in to Texas, every other state will jump on them too. But this way, the tax writers may understand that their greed entails a penalty—loss of jobs and income to the state.
Why should Amazon waste time and money in a legal battle? They don't need Texas as much as Texas needs them. Texans lose all round because of their idiot lawmakers. Employees lose jobs, local businesses lose the employees' business, and Amazon's Texas customers may have to wait a little longer for their books.
Not bad for a part time legislature.