iPhone XS Max reboot if music are loud

Hello, i replaced display and housing in XS Max and after that i have problem with rebooting after volume up higher than 80%. I replaced loud speaker, speaker flex cable and i still have this problem. Any ideas?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0