This is such an interesting insight that would never have occurred to me and seems to have a lot of explanatory power.
The global system of free trade and human rights has been the most free, prosperous, and peaceful era of humanity by far. Whole nations lifted from deep poverty, such as China and India (with still more to be done!). Incredible prosperity for the wealthy. Freedom, self-determination, democracy and human rights as the global norms.
Why are we throwing it away again? Much could be done to reform it, but we'll just throw it out?
Because we haven't figured out how to square allowing people the freedom to work in the industries they please, no matter where in the world that industry has found itself, with allowing countries to strictly limit who is allowed inside its borders.
The "just learn to code" message never sat well with those who have no interest in coding and now they are rising up to try and take back, so to speak, the work they actually want to do. The far reaching consequences that go along with that are not of their personal concern.
You've never heard of the term "brain drain"?
However, you must remember the bit about limiting who is allowed in the country. If you were a German with a hypothetical burning desire to flip burgers at In-N-Out Burger, what are the chances of you getting a work visa? I would say effectively nil. So you're not going to see those people even if they would arrive in a world without borders.