Immigration
Places that have been losing population see refugees as a resource... They often see these groups as a way to add to their population, labor force, and communities in ways that combat the population loss they've had over time.
Predominantly Buddhist Thailand has been battling an Islamist insurgency in its south for decades and has 'no stomach' for bringing in more Muslims.