That was one ot the motivations to jettison the Articles of Confederation and to replace it with the Constitution, esp. Art. IV, sec. 2 which begins: The Citizens of each State shall be entitled to all Privileges and Immunities of Citizens in the several States, e.g. you can't slap tariffs on a Virginian but not on your own residents.
I guess that constitution Article was the big change, to get a big "equaliser"..
Here from 1987, from Cato (yes I know... the Koch brothers... but still) an article on how much state governments still used all kinds of hurdles to the disadvantage of a US single market and to the advantage of (especially) small minority interests within their state. Economical minority interests that can difficult change business pressing hardest (farmers, minerals, etc).
Perhaps also important to be aware that interstate trade is very big in the US compared to the total GDP of the US (which is obvious to happen with any country that you would split up in 50 units with "borders", and measure trade across those "borders")
I guess Governors of states will do anything not forbidden by federal law to give benefits to lobby groups from their own states that are important to their re-election, whether positive or negative for the average citizen of their state or the US.
https://object.cato.org/sites/cato.org/files/serials/files/cato-journal/1987/1/cj6n3-6.pdf
I think tariffs, even if only applied to international trade (Trump), will have a very uneven impact between states.
The last attack of Trump on India is retalliated by India by higher tariffs on US almonds (India buys 50% of the US almonds production). From the top of my head that is mainly impacting California. Apples (Washington) another uneven impact.
Common sense would dictate that you do not want to be too volatile in changing tariffs all the time (allowing companies and farmers to have reliable forecasting of marketable volumes, allowing investments and jobs not at risk of destruction).
Trump is anything but reliable and steady... he is unpredictable volatile.
But still... I do think that building those trade walls is a kind of inevitable strategy to protect the domestic economy of the US.
I think you can only promote on a global scale radical free market trade if you are the country that outperforms any other country in efficiency.
The US was not in that position when the UK was (and erected high international trade walls in the 19th century).
The US has been in that "on-top" position from WW1 until 2000.
Now it is China, and in its tail Vietnam etc, that are the most effective low cost producers for the full range of tech levels, and erecting walls is the obvious defense
(until China is as expensive from increasing wages as the US, but considering their Belt & Road initiative, China has for decades access to low labor cost in an integrated production and trade system).