Freedom of navigation has always been a U.S. policy. Plus not getting your own ships fired upon.
Funny how that didn’t apply during WWI when the Brits blockaded Germany and wouldn’t allow US ships to go to German ports even though at the time we were still “neutral”.