SSD can fail anytime. I got a Sandisk 240GB failed just over a year in use (internet surfing only) a few years back for no reason.
I got a WD SA510 Blue 512GB that slowed down to a halt just a month ago (just 8 months in use) that I have to download a firmware to fix it.
If an SSD failed, it just failed. Even name brand. Just RMA it.
Just back up your important data to another drive regularly. Usually you have no way to rescue your data if an SSD fails.
==
I got a 512GB 870 EVO after WD SA510. Don't know how it will fare.
EVO 870 1TB review at Amazon looks good though