Various categories of gasoline still are allowed to have lead in them. E.g. jet fuel. Possibly because they have a more-powerful lobby lobbying for them.
Aviation gasoline does use lead-- it's used there to prevent predetonation (engine knock), which is bad for a car engine but really bad in something that's supposed to be keeping you in the air. Replacing it is an ongoing effort, but it's taking a while-- largely because of certification requirements, because it's pretty important to make sure that your new gasoline formulation isn't going to, again, make that thing that's keeping you in the air fail. And there are a lot of older GA airplanes out there that would need recertification for a new fuel.
see "The Secret History of Lead" https://www.thenation.com/article/archive/secret-history-lea...