Sony WH-1000XM4 and XM3 headphones have a common issue where they may make a loud noise on the speaker. It may sound like a loud Screeching that makes your gentle ear hurt.  This is the commonality with most of those symptoms. This is the Microphone port on the front part of your speaker.  

Repair Part: MS Speaker Port
Brand: Sony
Compatible: WH-1000XM3 and WH-1000XM4