[NAME]  I guess I haven't tried that on a system that didn't have iTunes, but I do know that iTunes installed an Apple Mobile Device USB driver, which I always figured provided the functionality of allowing the phone to appear as a camera in order to allow photo retrieval.  Maybe there's some other way to get that driver loaded or maybe something else has changed, but if you don't have iTunes installed, I'd start there.
Not sure if this is a driver issue or not but same thing on more than one iphone when I connect a USB cable to my iphone se 2020.  It did the same thing with my older iphone 5s. I keep getting prompted to click allow this device to access .  As soon as I click access it does it again, keeps popping up . .  This laptop has windows 10 on it upgraded from 8.1.  Only this laptop has this issue as my iphone will work fine on my home built desktop with windows 10 pro and any other windows 10 computer getting pictures to them.   All the drivers are up to date, even flashed the BIOS to newest version.    I reset this laptop and it worked a few times and went back to doing it again.  I have tried two different iphones, three cables and same thing.    What am I missing ?     been working on computers for years and this dell xps 9530 has me stumped .
Cannot upload pictures from my XPS 9530 using my iphone