Essentially the apps have same package name but different signatures and the app store that installed it should be the only one to recognize and update it.
But Google is likely trying this dark pattern to sway people away from F-Droid or alt stores by making users uninstall these apps and install it from the Google Play Store.
It’s been going on for a while and is annoying af.
I don’t care that it can’t update these apps, since I use Obtainium. But, FFS, at least let users have an option to ignore or hide those apps.