@marcoarment logged in users are far more valuable than logged out ones. From a commercial perspective, if a Google or Apple prompt makes more users sign in, that far out weighs the visual abruptness of it.

If I'm not wrong, the websites have to do extra work to get these prompts working, so they clearly see the value.