In modern science, it is generally accepted that most ignis fatuus are caused by the oxidation of phosphine (PH3), diphosphane (P2H4), and methane (CH4).
A related hypothesis involves the natural chemiluminescence of phosphine.