The reality is that people who are less well-off often do not have the "liquidity" to rebalance their assets (educational, experiential, financial, etc.) to take advantage of changes in the global economy.
On a macro level, society benefits from globalization, but on a micro level, there are often very high personal costs. If you have spent all of your life developing skills in one area, and that suddenly falls apart, it's going to be very difficult to drop everything and start over.
As a society, we have the capability to use some of the gains to smooth out the costs for the people that lose out here, whether it's through basic income and welfare, or education and retraining.