Apple support's article: Download iCloud photos and videos - Apple Support can help with the photo originals.
says:
"How to download photos and videos from the Photos app
If you want to download a full-size copy of your photos and videos from the Photos app to your iPhone, iPad or iPod touch with iOS 10.3 or later or iPadOS, or your Mac with OS X Yosemite 10.10.3 or later, follow these steps.
On your iPhone, iPad, or iPod touch
- Go to Settings > [your name].
- Tap iCloud, then tap Photos.
- Select Download and Keep Originals."
You. might want to browse the above article for more tips:
Eg: There's a section at the bottom:
"If you need help downloading your photos or videos"
Eg: Make sure your device isn't on Low Power Mode.
Low Power Mode temporarily pauses iCloud Photos.Â
Learn more about Low Power Mode.
____________________________________________________
For RAW files:
Seems more may be possible on Mac:
For Mac: How the Photos app and iCloud Photos handle RAW images - Apple Support
All the best :-)