This is my one main complaint about Fedora Linux.
Those updates in Discover are for flatpak, not dnf. You can verify that with flatpak update
.
As for discover wanting to restart to do their update, that’s a fedora thing for an extra level of safety while updating. You can read about it here.
Discover shows updates to both your flatpaks apps and dnf apps
Because those are Flatpak packages
Those are Flatpak updates. dnf can’t see them I think.
happens to me in Arch with yay.
You can turn it off in the settings (may be system settings, think it’s called offline updates).
It’s a feature Gnome added and then KDE added too. Fedora isn’t the only distro to implement it, but the most popular.