Same issue here on an iPhone 14 Pro Max connected to a MacBook Air M1 2020. I can select all the photos, but none of them want to transfer to the computer.
Have added the Photos app with Full Disk Access and the iPhone is set to trust device. There's no PTPCamera in my list so that fix wasn't an option.