Refugee laws were written a hundred years ago when there were frequent wars in Europe that would displace non-combattent women and children. They didn't have much option to go far beyond a neighbouring country and would likely go back home after the war was over.
Our current system of laws requires us to host any refugee or immigrant from anywhere in the world on a permanent basis.
There is no way this is sustainable economically, and much less so culturally.
The government could fix this instantly, but they choose not to.