I believe the data is ‘logically’ deleted but is still physically there.
In my olden days as a computer nerd, magnetic discs were (are still?) divided into tracks and sectors. A file name was recorded in a directory with a track/sector address. Deletion of a file erased the directory entry but the data remained until overwritten by a new file.