There is no "other countries", it's a global economy. Mexico exports $450B worth of stuff to the US every year. When their fertility rate was 6 and then one or two of those kids immigrate to the US, that's fine for them. Now that their fertility rate is below the population replacement rate too, if their kids emigrate their country is screwed. Then there's nobody to make that $450B worth of stuff, because the kids who migrated are busy filling the existing jobs in the US.
Meanwhile what do you expect to happen in countries with fertility rates below population replacement and net out-migration of the youth? Is it morally reasonable to willingly cause that to happen, even without considering the consequences to the US of that level of desperation spreading through the rest of the world?
The alternative would be to get the fertility rate back to the population replacement rate.