Where a ship is built is irrelevant. Foreign built ships can be US flagged. The owners just don't want to pay for it.
> The Jones Act requires goods shipped between U.S. ports to be transported on ships that are built, owned and operated by United States citizens or permanent residents.
The one thing I never understood was why everyone gets bent out of shape over shipping rules but don’t consider or care about airline cabotage.