> All countries have primarily a duty to their citizens, and only then to foreign entities.
There is no innate duty of a state to anyone, it's a function of the policies of the people we elect. In many peoples view laws should apply equally regardless of where you are from.
If laws apply equally even to foreigners, then what's the purpose of the concept of citizenship?
All people I know will treat their childred differently than random children on the playground, I'd imagine some analogy to this situation is not entirely lost on anyone.