Globalization of production

. Why has the globalization of production, trade, and finance not led to the liberalization o​‌‍‍‍‌‍‍‌‍‌‌‍‍‍‌‍‌‌‌‍​f border controls on migration?