A lot of the problem in the US has to do with the petrodollar system.
OPEC has only been allowed to accept US dollars for their oil since the 70s.
That generates massive demand for dollars outside the US. Foreign countries obtain the dollars they need to buy oil by converting their currency to USD or by exporting goods/services to the US.
As a result, the value of the US dollar gets inflated and large parts of the US economy get "offshored" thanks to the favorable conversion ratio.
On the bright side, this system means you can import foreign goods very cheaply - but on the downside, it means exports are often not viable.
There are several industries in the US that don't reap large benefits from cheap imports. Education, healthcare, construction, and child care just to name a few.
I hope this adds some color to the phenomenon you've observed