Did you upgrade your iPhone to the new iOS 18.4 release, which landed on March 31? Have you had any problems with CarPlay?
Several iPhone users are reporting issues with CarPlay functionality after updating their handset to iOS 18.4.
OS 18.4 update causes CarPlay connectivity issues in various car models. Users face frustrating bugs. Await Apple's fix soon.