While you’re not wrong about people’s motivations, or the market’s sentiments, I do think this isn’t the right take on globalised industry. There’s no need to close US factories and move workers - it will happen naturally. For example, nobody closed US auto factories to move production to Japan - the Japanese out-competed the US on price and quality. The same is just starting to happen with electric cars now. Greed may have accelerated this transition, but it was inevitable.
Protectionism necessarily requires import fees for that reason. To offset the price difference you have to make foreign goods artificially more expensive.