This error, the scourge of iOS: “Device is unreachable”.
Maybe help articles that you’ll find tell you to do all of the standard stuff like install a new version of iTunes, update Windows, reboot Windows, Change settings so that photos are converted on copy.
However, many times none of those are the cause. iOS can get into a corrupt state in regards to being able to copy files to Windows via Windows Explorer. The fix to this is to reboot your iPhone (and not Windows). This very often fixes the issue and allows you to then copy files.
Once files are copying again you might break those file copies into smaller sections such as by folder. Sometimes copying too much data causes the connection with the iPhone to faulter.