Some common causes of data loss from SSD are:
Physical damage
Firmware corruption
Virus attacks
Water or fire damage
Corruption of the flash chips
Short-circuit
Accidental deletion of data
Formatting of SSD