Sightly older version of Firefox here (140.x) on Debian Linux, no issues.
Maybe you have a browser extension that isn't playing nice? Try disabling extensions / maybe a private window & see how it goes.
Or if you're on Windows maybe you have anti-virus/malware software causing weirdness.
EDIT: Could be worth running memtest86+ or similar to rule out any RAM issues, wondering if you're just seeing crashing whenever you use software that starts to use more memory.