That is because you don't have any good online ID authenticator. Something like BankId in Sweden is so incredibly practical in a lot of ways.
What do non-citizens use in Sweden to get around?
The "everything apps" of places that have them aren't usually restricted to only citizens (though some admittedly have shitty UIs for non-citizens)
There's a lower-level, different number, which is less powerful, but easier to get.
Same in Denmark too. You get a "CPR" number, and can login to most government services (as well as some commercial ones) with "MitID" (my ID). It's quite convenient. I can even use my MitID to buy alcohol without having to interact with another human being in Rema 1000 using their self-checkout app.
Ireland—where I moved from—has a similar "PPS" number that all residents can get, although the online aspect is not nearly as well integrated as it is here in Denmark; it's slowly improving.
In China, same thing, on WeChat.
In the US, they want you to register some stupid MyHealth thing, sign some paper documents, and mail follow up shit to your residential address. They won't give you medical records on anything other than a fucking CD-ROM, even in 2024. Somehow in the US, a messaging app isn't "official" enough, and there's going to be the one first amendment brat* that doesn't want to install WhatsApp for privacy reasons.
* I say this jokingly, and do think we need to be harsher on corporations. However, my point is that in collectivist countries like Indonesia/China, if you don't install WhatsApp/WeChat or whatever is the chosen national app, you'll be the outcast and nobody will help you. The collectivist societies tend to embrace these apps for their convenience, rather than question their terms and conditions.