Mac keeps switching to Finder
Ok, so I asked this question a while back but wasn't able to go back and reply to it fast enough, so the thread is locked.
I am having the trouble that sometimes (not all of the time) my Mac keeps switching over to Finder. It even seems to be a specific Finder window, because it can switch over from a different desktop to the "primary" one.
I think that related to this, it is refusing to connect to my iPhone. It says that it can't read the content of my iPhone and recommends me to perform a factory reset. Which of course I don't, because I haven't been able to backup the iPhone to the computer for a while now (I think the iCloud backups are fine though). It seems that when it tries to connect to my iPhone, the trouble appears. And I can't make it stop! Once I got it to show me a dialogue about not being able to connect to the iPhone, and when I clicked that it stopped. But most of the time I can't get that to appear. So, please advice...
iMac 27", macOS 10.15