There are lots of ways dirt can get into the fuel including sediments. After it is produced it is held in a holding tank, then taken to the petrol station in a tanker then held in the petrol station's tank before ending up in your car's fuel tank. Lots of places dirt can be picked up. Try not to let your car run on empty.