Sound glitches after 20-30 minutes

I got a chevy spark 2022 back in june 2022. And everytime after I spend some time driving around (usually 20-30 mins drives) the sound from my carplay starts glitching out. I changed the cable and even change phones in between but the problem was still there. Last month I got into an accident and now I got another chevy spark 2022. And when i plugged my cellphone (with a new cable) it starded glitching again.

Has it happened to anyone before? Does anyone know how can I repair this or what can I do?