Yes, my choice of car determined my smartphone choice. I decided I was more interested in the particular vehicle (Porsche Macan) than the particular smartphone (Pixel 5a vs iPhone 13). Both CarPlay and Android Auto are worlds better than the OEM head unit software crap I've found in any of the cars I've owned (Audi, Porsche, VW, Ford, Chevy, Kia) for both navigation and music/podcast listening. I was hesitant to switch, but I figured it was an easier choice to back out of than a car purchase. And six months later, I think I made the right choice. While I still would prefer Android, I'm ok enough with the iPhone that I'm not bothered day to day with it.
Apparently next year the Macan is getting Android Auto support, so people in the future won't need to make the choice. But I was in need of a car this year, so I had to make the choice.