There could be a variety of reasons why your PC randomly deleted everything. In some cases, it could be due to hardware or software issues, such as a faulty hard drive or an interrupted system update. It's also possible that a virus or malware may have been responsible for deleting all of your files. If none of these causes seem to fit the scenario, it's best to contact a computer specialist or technician for assistance in troubleshooting the issue and restoring any lost data.