Tobacco is neither here nor there because, obviously, people do have the choice not to smoke.
On the other hand, when you're in an area with little to no public transport and the only way for you to go to work or go to the supermarket, or do anything really, is to drive there is no alternative. When you're a delivery driver there is no alternative. When you're a tradesperson there is no alternative.
There is no alternative because EVs either do not really exist (electric utility vehicles only start to be available) or are way beyond what you can afford and you do need a vehicle.
Basically in France this was seen as Macron's "let them eat cake" moment with well-off people in Paris (with its world-class public transport system) deciding that everyone in the country could "just" drive less or change car.
Of course, fuel is so cheap that you need to raise taxes significantly for them to have any effect. After all, fuel is just a small fraction of the total cost of owning a car.