“Sounds rather unconstitutional to me, but...”
Why? The FedGov cannot do it but individual states can tax as they see fit. Tenth Amendment and such. It isn’t fair or moral but since when does that bother a democRAT?
Interstate commerce and free movement of citizens among others.