Gas taxes are a small portion of road costs, and are only for state roads. Cities generally don't receive road subsidies from the state. Cyclists drive on city roads, and city roads are generally paid for with property taxes or local sales taxes (if your city has them). And cyclists cause zero damage to roads, unlike cars or trucks
Really, cyclists are getting shafted because they have to pay for so many roads they can't use.