Try wiping the cache in firefox when that happens. For the most part it is the most stable browser.
And don’t install a bunch of plugins. That never works out well for any browser.
My brother has had that problem on twtich too with edge! Microsoft just can’t seem to make a browser worth while anymore.
Might be a flash/HTML things… But again it is microsoft. It could be anything.