Heathcard insurance premiums are using community rates - priced on the overall risk / claim rate of the population of people covered under a certain policy.
My guess is that expats and visitors from other countries are a healthy and lower risk group (because they’re also wealthier) than the general population.