For state legislatures, charging sales tax to buyers outside the state (like most internet buyers probably are) is much less politically risky than raising income or property taxes on state residents, since people outside the state can't vote them out of office. And raising income or property tax on someone who doesn't buy a lot of goods may end up being a net tax increase for that person, which might also incur their political wrath.