Why photos can still be there
Deleting a photo on a camera, or quick-formatting the card, usually only clears the card's list of files. The picture itself stays until the camera records something new in that space. That's why it helps to stop shooting on the card right away.
Related: recover a formatted drive and recover files from a USB stick.

