iPhones don’t like being on (wireless) CarPlay and being Bluetooth connected to the car. I’ve opted to not pair the phone with the car and buy a wireless CarPlay dongle, works a charm.
Not sure if the phone dislikes being Bluetooth paired and using wired CarPlay at the same time, but maybe?