A hard disk marks a deleted file's space as free and leaves the data where it was until something else needs the room. That is why deleted-file recovery on a hard disk can succeed months later. An SSD cannot overwrite a page in place; it has to erase a whole block first, and erasing is slow. So the drive does it early, in the background, on any block the operating system has told it is free. That message is TRIM on SATA drives and Deallocate on NVMe, and every modern operating system sends it as soon as a file is deleted or a volume is formatted.
The drive does not erase instantly. It queues the work and runs it when idle, which is where the window comes from. Ten minutes on a busy drive, up to a day on a quiet one. A full shutdown stops the clock, because the controller cannot run garbage collection without power. Sleep and hibernate do not necessarily stop it. Every restart starts it again.
The exceptions are real. Many older USB enclosures and some current ones do not pass TRIM through, so a portable drive may hold a deleted file far longer. Hardware RAID controllers often do not pass it. macOS enables TRIM only on Apple's own drives unless trimforce was run for a third-party one. And a drive with a controller or firmware fault may never have got round to it at all. We find out at the free look, and we tell you before any charge whether there is anything worth recovering.