If I am lying on bed and watching movie with MacBook on my knees and AirPods connected; even if I move a bit on bed or change my resting position the AirPods makes a screeching noise. It is a torture for the ears. It can even damage my ears.
So with MacBook I always use it at max 70% volume.
This happens with all media played in any app or browser. This is sheer torture. Many times in frustration I have hit the back on my MacBook with force!
I complained about this to Apple on their Twitter handle, then thrice on their Chat Support. They tried their best to help me sitting thousand miles away they could do nothing.