Hey there!
My name is Ravi, and I am an independent advisor. I am happy to help you. :)
When the data is removed during a factory reset, there's no way to get it back it gets deleted permanently. However, if you have enabled the backup option with your Microsoft account, you can restore it. https://support.microsoft.com/en-us/windows/bac...
Feel free to get in touch again if you have any additional questions.
Cheers,
Ravi