Turns out it might be something with the SSD bay of the laptop motherboard, it seems like the SSD will just randomly fail when I'm using the laptop. I've swapped my SSD and also tried a different OS, and a similar thing happened.
Thanks for your help anyways!