Bluetooth headphones start out in A2DP but after a bit automatically goes to HSP

My headphones will connect fine. But after awhile it will randomly disconnect while watching a youtube video. And then go silent for a minute, then make the reconnect noise and play audio in the call quality sound.

when I tried to set it back to A2DP, it wouldn’t let me.

Any ideas how to fix this? Thanks