This is a super weird "posture" of legislation some countries around the world have, I do not understand the rationale.
If you make money elsewhere, by working elsewhere, never touching nor affecting the local job market, why would you have to get a work permit?
If anything, it's good for countries to have people coming in whose only effect in the economy is spending their money, better yet, money brought from elsewhere, an immediate net gain to that country's wealth.