Device restarts when the progress bar appears when trying to restore
I have an iPhone SE 2020. Today it got stuck in a boot loop suddenly, I tried to restore/update it while in DFU but everything goes normal until the progress bar for the update appears on the screen then the phone automatically restarts to DFU. Itunes says error 4013. I also tried to do it with Wondershare Dr. Fone but the same issue persists.
Please help me solve this issue