Why does the speaker of the POCO X7 Pro make noise when the volume is high?

Thank you for your support of Xiaomi products, and we apologize for the trouble you're experiencing. The speaker noise you're hearing when the volume is high is caused by mismatched audio parameters, and it's not related to a hardware failure.
We have addressed this issue in the latest system update, and you can resolve the problem by performing an OTA (Over-The-Air) upgrade to the latest version. The update will include the optimized audio parameters to improve sound quality and prevent noise at high volumes.
We appreciate your understanding and thank you for your continued use of Xiaomi products!