BSODs are for the most part either driver related or hardware faults. That there are other, less likely, possible causes often throw people for a loop, though.
If you have access to another computer you can test the SSD there: you don’t need to boot from it, just verify that it’s correctly detected and can be read / written to, without any failures, as a secondary drive. A drive case can be used push comes to shove.
So your first order is to check drivers are OK, then disconnect everything, and I mean everything, not even USB devices that aren’t strictly necessary can remain plugged in. Reseat everything that can be (CPU, memory sticks, GPU, drive cables and so on); and make sure cooling is working as intended.
Then reconnect the very essential and boot the machine. If that still doesn’t work, you can replace SATA cables and try to switch ports / slots where possible.
This generally resolves 99.97% of the issues.
I wonder if Firefox has even anything to do about it; that it does appear to be involved is most likely because browsers are in use almost constantly.