It's not clear to what extent the states have authority over this. There's obviously lots of federal money involved in the construction and operation of U.S. ports. Since it involves international shipping, there may be serious limits to what restrictions states can put on it. For example, I don't think any state has legal authority to block airlines operated by certain foreign governments from using our international airports.
The states have the ability to block this and if they aren't given sufficient reason not to some of them will.
The feds don't hold absolute control over the ports.