That might be specific to your hearing aids.
With AirPods I only click once to connect on my MacBook and once to change the output back on whatever app I’ve been listening to on my phone (phone stays connected, laptop disconnects).
I think on my personal laptop, AirPods Max stay connected to both the phone and laptop. On my work laptop I have to manually connect. Might be an Apple ID thing, not sure.