Android 12 has a mechanism to allow an app that installed an application to update it in the background, but the client needs to be updated to support it.
F-Droid hasn't yet, see issue here [1] - some of the other F-Droid clients, like Droid-ify have [2].