When using Apple's CarPlay, it will automatically connect to the first iPhone it was paired with. Here's how to get it to connect to a different device.
Source: [Engadget](https://www.engadget.com/2258194/how-to-switch-between-two-phones-apple-carplay/)