https://support.apple.com/en-us/HT205323
Scroll towards the bottom.
Ummm.....WHAT?Download your photos and videos from iCloud Photos
In Windows 11.1 or later
New photos and videos you add to iCloud Photos are shown on your PC automatically. To download the file from iCloud when you view it...