Does Music.app (on macOS) do something fancy with AirPods/Bluetooth headphones?
I've noticed that, even if they're already paired with my laptop, Music goes through a little pairing process every time I start listening to something through it. It is a mystery.