One of the many reasons. The biggest reason the last place I worked at that did manufacturing was that there were import tariffs on components but not assemblies so they just built the assemblies in China.
https://www.whitehouse.gov/briefing-room/statements-releases...