There are several possible reasons why there is no sound coming from the AirPods Max:
Incorrect selection of the audio output device. The device can be configured to play audio through the built-in speakers instead of connected AirPods. You need to check the audio output settings and make sure that the AirPods are selected as your preferred device.
Interference in the Bluetooth connection. Communication between the phone and the AirPods may be affected by interference from other wireless devices or physical obstacles. Make sure that both devices are in close proximity and there are no significant obstacles or sources of interference nearby.
Application settings. Some applications may have their own audio output settings that can override device settings. You need to check the app settings and make sure that the audio output is set to AirPods.
Unstable Bluetooth connection. A weak or unstable connection may cause the device to play audio through the built-in speakers. You can try disconnecting and reconnecting the AirPods in the Bluetooth settings menu, or restart the device and reconnect.
Software errors. You need to make sure that both the device and the AirPods are using the latest software and firmware updates. If necessary, reset the AirPods to factory settings and reconnect them to the device.
Problems with the equipment. If the problem persists after all previous solutions, there may be a problem with the AirPods hardware or the device's Bluetooth module. In this case, you need to contact Apple support or the device manufacturer.