Mac goes haywire after connection iPhone
Often when I connect my iPhone 11 Pro to my 2013 MacBook Pro (running Catalina) the Photos program open and tried to access my phone as it should. However my computer goes haywire. The phone briefly (less than a second) appears on the photos app and states it's trying to access the phone (which is unlocked and open). Then my phone's icon disappears from the photos app, then reappears, then disappears, then reappears, etc, in rapid succession. If I try and switch programs my Mac jumps back to the Photos app which continues to "tilt" iPhone-no iPhone-iPhone-no iPhone. Only by physically disconnecting my phone from my Mac do I get this to stop. But then my photos and videos are stuck on my phone.
How do I solve this?
MacBook Pro 13″, macOS 10.15