The original Navigation Act of 1789 was one of the first laws passed by the newly constituted United States for a reason. When you consider that ocean going sailing ships were the most complex, technologically advanced modes of warfare and troop transport of that time, it was wise to protect and develop a domestic shipbuilding industry.
As far as I know we still don't let France or China build our aircraft carriers or space rockets.
Check your facts. Anything more high tech than a spatula has about a 95% probability that it contains foreign-made parts. That carrier will be made in the USA of the finest Japanese steel money can buy, then loaded with millions of Thai semiconductors packaged in Mexico and mounted to Canadian PWB's before being put into Taiwanese castings and bolted into the ship.