60% of all canal traffic is US containers.
Look at some place North Carolina... 1000 calls a year. There is rail, truck and warehouse infrastructure to support that. It is highly optimized because of domestic transit by rail and truck, of imports and exports.
If you optimize your profit, by dropping imports closer to the point of consumption any extra profit you make will be consumed by rail and trucks getting exports to you in a non optimal way.
The smart choice is to sail to the port where the exports are. But because you can't take that domestic cargo you going in a non optimal state... that empty transit time just cost you money because you have a 2nd captain, crew, ship, insurance and moving an empty vessel is waste!
Basicity the limits the jones act imposes means that you can't fully optimize against the cost and structure of domestic transit.
Iceland Airlines kinda does the same shuffle for transatlantic flights and self-loading freight ;)