The major causes of software data loss:

Virus Attack
Disk format
Partition Loss or trying to change the partition on the drive
Disk lost power during an operation
The network deleted files
Power Loss
Invalid Partition Table information
Corrupted boot record