You can drop a lit cigarette in kerosene and it will just put the cigarette out. You can also so that with diesel. You cannot, however, do that with gasoline.
A cigarette won’t usually light gasoline, if you’re quick and it’s cold enough you can plunge a lit match into gas. Diesel is practically difficult to ignite, I mix it with gasoline for a good, safer firestarter with a longer burn