The CarPlay can disconnect for many reasons, such as loose/worn-out USB cables, low phone battery, Bluetooth/WiFi interference, unstable mobile data connection, etc.