Apple CarPlay will randomly disconnect while wireless and wired, it has happened when only streaming music, streaming music with maps running and phone calls/teams calls with and without maps running. The solution has been to remove the device from the car and the car from the phone, power off and then pair the devices again.