@manw3bttcks, it’s not for locating, then user-installing them. However, it is designed to update (and remove) them. You may find that the context, that is cited by the undermentioned, explains what you want to know:
Back in the day, PackageKit would resolve differently from dnf because they rolled their own resolver.
Unfortunately, this remains somewhat true for Discover, for it appears to utilise dnf4’s database even on dnf5-based OSes:
To see dnf5 transactions that affected flatpak: dnf history list --contains-pkgs=flatpak To see dnf4 transactions (which include anything you did from Discover, GNOME Software etc): dnf4 history list flatpak
However, per bugs.kde.org/show_bug.cgi?id=480525#c5, it shouldn’t cause many problems, except that installation location and some dependency information may be inaccessible via some methods.