As someone else pointed out above. This is not due to Firefox per se but due to the OS changing dependent packages. I understand if you install Firefox directly from their website rather than through the system package installed you won’t have that behavior. It does not happen on other OSs.