Snaps update themselves in the background. That is fine until you are in the middle of something and the browser restarts to update.
You can hold one snap for a while without disabling the whole system:
sudo snap refresh --hold=72h firefox
sudo snap refresh --unhold firefox
The docs say durations go in seconds, minutes or hours, or a mix, so 1h30m is fine. Leave the duration out and the hold defaults to forever. Leave the snap name out and the hold covers every snap.
I like the timed version. It expires on its own, so I cannot forget it for a year. A forever hold is only for something that really must not move, and then I want a note somewhere.
Most of the time I leave automatic updates alone and hold only on days when a restart would be a bad idea.
Caveat: the hold postpones automatic refreshes. A manual snap refresh of that snap can still update it, so do not run it out of habit. Holds also need a reasonably recent snapd, which is not a problem on Ubuntu 24.04.
Further reading: Snapcraft: Managing updates, On this site: snap revert puts a snap back on its previous version