Hi Girshon Rutstein,
As we understand it, you hear distorted audio through your AirPods when you use one device, but the audio sounds as expected through a different iPhone, correct? We'd like to check a few things to see if we can narrow this down.
Which iOS version are you using on both devices? Updating the iPhone 11 Pro Max to iOS 16.1.1 is a good idea if you haven't tried that already. Be sure to back up beforehand: Update your iPhone or iPad - Apple Support
If that doesn't help, try resetting your AirPods and then test again. Here's How to reset your AirPods and AirPods Pro:
"You might need to reset your AirPods if they won't charge, or to fix a different issue.
- Put your AirPods in their charging case, and close the lid.
- Wait 30 seconds.
- Open the lid of your charging case.
- With your AirPods in your ears and connected to your iPhone, iPad, or iPod touch, go to Settings > Bluetooth, or Settings > [your AirPods], and tap the More Info button
next to your AirPods. If you don't see your AirPods in Settings > Bluetooth or in Settings > [your AirPods], just go to the next step. - Tap Forget This Device, and tap again to confirm.
- With the lid open, press and hold the setup button on the back of the case for about 15 seconds, until the status light on the front of the case flashes amber, then white.

- Reconnect your AirPods: With your AirPods in their charging case and the lid open, place your AirPods close to your iPhone, iPad, or iPod touch. Follow the steps on your device's screen.
AirPods can be associated with one Apple ID. If you want to use AirPods (3rd generation) or AirPods Pro (1st or 2nd generation) that someone else has used, they first need to remove the AirPods from their Apple ID."
Resetting can help to clear up unexpected issues like this, so let us know if that makes a difference!
Take care.