Strange problem with AirPods Pro 2

Over the past month, I've noticed that when my AirPods Pro 2 are in transparency or adaptive mode, the right earpiece goes into noise cancellation mode at the slightest noise(Knock on the table or cough), and lasts only about 1-2 seconds (you'll feel an increase in pressure in your ear) before returning to non-noise cancellation mode. Imagine you're using a mechanical keyboard and every keystroke is agony. This really drive me crazy.