iCloud can only restore photos that were deleted within 30 days. If the file has been deleted for more than 30 days, try to use other methods such as iTunes backup or Time Machine backup.