Not just that, for solar only the final module assembly moved to Vietnam and Malaysia. The original components - wafers, electronics and encapsulation materials - are all imported from China. The wafer processing equipment used to be AMAT or Lam... Now Chinese.I think the tariffs had the effect of more quickly moving production of labor intensive products out of China and into other countries in Southeast Asia and Mexico. But that was already happening. Had been for like a decade. One example is shoes and clothing which had been moving towards Bangladesh and Vietnam for about that long and away from China. As China itself moved up the value chain and salaries increased in China the production was moving there already. What the US tariffs led to was things like moving production of solar panels to Vietnam and Malaysia. Of course moving production facilities entails costs even if salaries are cheaper. But I think the major reason for the US inflation was not Trump's tariffs but the Fed printing money. I also think the trade balance got worse because of the way the government decided to support the population with cash handouts. I would not have done any cash handouts. I would have just passed a moratorium on loan payments, mortgages, and rents for the duration of the lockdowns. i.e. freezing the velocity of money and the economy not increasing it.
The tariffs would have never brought manufacturing into the US given the way they were structured. And with NAFTA being in place there is no way manufacturing would go to the US. Even if the US put tariffs on all international trade of said goods, production would just move to Mexico. Since the tariffs just applied to China, production moved to other countries in Southeast Asia which were close to the rest of the supply chain and where the main market is.
So far from reducing dependence on China, reliance on China increased. Now Vietnam and Malaysia hooked on China too.