There's also a huge historic and geographic factor, specifically colonialism, that creates connections for immigration that would otherwise be unlikely. It's not like this is some clockwork system where every citizen migrates to the richest country that can reach at any given time. It's people, by the tens of millions, making the best decisions they can for themselves and their family based on the political and economic realities.