The problem is caused when Firefox is installed through your operating system's package manager. But after a bit of searching, it looks like you can just get a version of Firefox from Mozilla's website that contains its own updater and avoids this problem.
https://old.reddit.com/r/firefox/comments/b5jb7i/how_to_prev...