Because it was dumb, changing away from a path when you see it is a dead end is a good thing to do.
Also I’m not sure “we” (to the extent that there even is an “we” here, there are always winners and losers with these sorts of policies so I bet the whole country didn’t agree) ever intended to move high-tech manufacturing away from the US. I think we want to outsource the bad jobs and keep the good ones. Of course it is a game everybody is playing, we’re shifting our strategy to hopefully more effectively keep the high-tech stuff.