Fuel cost is not total vehicle cost

A trip can create costs beyond the fuel burned.

Direct route costs

Tolls and parking can be added separately.

Vehicle ownership costs

Depreciation, maintenance and insurance need different models.

Use the metric for the decision

Fuel-only math is useful when that is the variable you are comparing.