What is happening
Android's file-based encryption protects credential-encrypted data with keys tied to the device and lock-screen knowledge factor. A factory reset is designed to wipe user data and reset that security state. Raw flash remnants, if any, are not useful without the prior keys, and normal app-level recovery cannot restore them.