Answer: Virus attack or hard drive crash.
Explanation: In the event of this happening there are two possible things that has likely happened.
Virus Attack : There might have been a virus attack on the device.
Hard drive failure or crashing: The hard drive has failed or crashed.
Solution: You can try to reformat the system to handle any case of possible virus. Also ensure you check your hard drive too.
It’s true because the optimization is the software that cleans up the fragments in a hard drive.