Under current rules, UK nationals are entitled to UK Personal Allowances wherever they are resident. The UK personal allowance is also granted to many non-residents who are not UK nationals, especially where the non-residents’ own country has a tax treaty with the UK.
Most other countries restrict entitlement to their own personal allowances. This means that the UK ends up collecting less tax on the income of non-residents than a comparable jurisdiction.