People are paid based on what they have the leverage to demand, not based on what's right or wrong.
Regulated taxi fare formulas usually include both time and distance. A mile in a traffic jam will be based on time. Ten miles with no traffic will be based on distance. Why should truckers not get paid for sitting in a traffic jam if cabbies do? It still costs the trucker time that he can't be doing/working something/somewhere else.