I dont see how that is true at all. The textile industry has completely left the western world and no one is complaining(other than the luddites I guess). Solar manufacturing isnt very different from textiles. Protectionism just leads to expensive goods, 95% of people gain under free trade.
So what's your mental model for the protectionism by the US against Chinese EVs and batteries despite the push for renewables by the same administration?
> The textile industry has completely left the western world and no one is complaining(other than the luddites I guess).
This was a very gradual process (over centuries), and they weren't really happy about it either. It wasn't just the Luddites who were upset when Samuel Slater (a.k.a. "Slater the traitor") left England and helped set up a competing textile industry in North America.
For self-preservation purposes, no politician will willingly sacrifice jobs at existing regional or national champions[1], regardless of how noble the goal is: politicians get voted out of office for far less. The best we can hope for, is a slow steady decline of harmful industries (see coal).
1. The US will treat Boeing with kid gloves rather than gift the market to Airbus, even though Boeing has a terrible safety culture and not exactly competing on merit. The same goes for VW in Germany, Arianespace in France, Samsung in Korea, Huawei in China, etc.