I'm having same problem, noticed the ps4 controller is working fine with it but ps5 controller is not. The symbol/icon when i connect my ps5 controller vs my ps4 controller via bluetooth is different.
The ps4 controller shows an ps4 controller icon and allows me to connect normally.
The ps5 controller shows a normal bluetooth symbol (same as my iphone).
When connected a monitor will show a monitor icon next to it, a mouse will have a mouse icon, a speaker shows a speaker etc... Somehow need to change how the mac bluetooth recognizes the controller.