It’s rare, but not impossible. Static electricity, the same thing that shocks you when you touch a doorknob, could ignite ...
You probably know this one! Smoking poses the biggest fire risk while pumping gas. One loose ember can ignite gasoline vapors in the air, setting anything nearby, including you and your car, on fire.