The difference is that the gas tax or similar user fees could easily (if politically feasible) be scaled up to cover both capital and operating expenses for the entire road and highway network.
If you tried to do that for merely the operating costs of many transit systems, they’d enter a death spiral.
If you tried to do that for merely the operating costs of many transit systems, they’d enter a death spiral.