It's wired. You can have a try Leawo iOS Data Recovery to recover the deleted photos on iPhone. Just follow the below steps.
The following guidance will introduce how to recover photos from iPhone backup and iCloud backup with Leawo iOS Data Recovery, and you can free download the program to have a try.
Section 1: How to recover deleted photos from iTunes Backup
Step 1: Select Recover from iTunes
Run Leawo iOS Data Recovery and choose Recover from iTunes Backup.
Step 2: Scan iPhone Backup
Select the iPhone backup and click Scan at the right bottom.
Step 3: Select Photos to Recover
Check Camera Roll and select the photos you need. Then click Recover.
Step 4: Choose Target Folder
Click Open in the pop-up dialog to choose a target folder on your computer. Then click Go to start recovering photos from iPhone 6 backup.
Section 2. Recover Deleted Photos from iCloud Backup
Step 1: Choose Recover from iCloud
Run Leawo iOS Data Recovery and choose Recover from iCloud Backup.
Step 2: Log in with Apple ID
Enter your Apple ID and log in.
Step 3: Select iPhone Backup
Select the iPhone backup and click Download at the right bottom.
Step 4: Select Photos to Extract
After the program downloaded the backup, check Camera Roll and select the photos you need.
Step 5: Choose Target Folder
Click Open in the pop-up dialog to choose a folder on your computer. Then click Go.
When the recovering process is done, you will get the photos in the target folder. The photos can be imported to your iPhone X again with no efforts.
Actually, with Leawo iOS Data Recovery, you could not only recover deleted data and files from iPhone, but also export data and files from iPhone to computer as backup, such as exporting iPhone notes to computer
. Unlike iTunes that will store all data and file from iPhone to computer, Leawo iOS Data Recovery allows selective data and file backup, which is much more convenient.
For more details, check: How to Recover Deleted Photos from iPhone