There are many ways to recover deleted data, including free Mac data recovery solutions. You may accidentally delete files or empty the Trash bin without realizing some crucial files were included.
The situations that can cause data loss or file deletion on a Mac are varied.