When a government collects taxes they have to think how to invest that money to maximize gdp growth. Subsidizing road infrastructure is a pretty good use of those funds IMO, though admittedly I’m probably biased as a transportation engineer.
CA uses fuel taxes to fund road infrastructure, which isn’t the worst approach… the heaviest users (‘heavy’ both figuratively and literally) invariably pay the largest share, although EVs are messing up that equation.