Can't Pair iPhone Xr with iMac
My iPhone Xr has become unpaired from my iMac (2020 model running Monterey, MacOS 12.1). My iPhone shows up in the Bluetooth Pref Panel. When I click on the connect button I get a pairing code which also shows up on my iPhone. I click on "Pair" on my iPhone but then both my iPhone and iMac say they are not connected. If I double-click on the iPhone icon in my Pref Panel I get a message that is connected but then changes back to not connected within a second.
Any help here will be much appreciated.
iMac 27″, macOS 12.1