I've long been calling cars the Swiss army knifes of transportation. Those knives objectively suck for most usecases. Sure, there is a little saw on there, but you're not going to cut a tree with it. Similarly most dedicated tools will be better than their eqivalent on the multitool. But that's not the point of a Swiss army knife. The little red tool is everything at once, removing the need to decide what to bring.
Cars work in similar ways. They are inefficient, loud and bad for everybody's health, including the planets. But they are also your all in one. Want to haul stuff? Cars. It's raining and you don't want to get wet? Cars. And so on and so forth. Each of this usecases has better alternatives (public transport, cargo bike etc) but none of these serve all usecases at once.
The car therefore promotes intellectual laziness. Driving a car means not having to think about the best way, because the car always provides a way. And city design often helps with that. The extreme is North America, but other places are not free from this.
Public transport rarely being door to door adds to this. You have to actually think about where the stations are in relation to your destination. Searching for parking is similar but people frequently don't think of it as being part of the driving experience.
And then there are additional reasons, that are less stupid. I've been told, that some people for example that some people don't feel save taking transit, especially those of minorities. The car provides a level of isolation.
Also social stigma (I would classify that reason as stupid though)