Not long ago I had to factory reset my computer because it had some problems. After the reset I managed to get my pictures and documents (I don’t remember if I recovered all of them) back using a recovery software. I even recovered pictures that were deleted prior to the reset.
Something similar happened with my cellphone.
Why is that ? Why can I get the pictures/documents back when they are supposed to be gone forever ?