It is used as a decoration during Halloween , and was named after the phenomenon of strange light flickering over peat bogs , called ignis fatuus or jack-o ' - lantern It is associated chiefly with the holiday of Halloween and was named after the phenomenon of strange light flickering over peat bogs , called ignis fatuus or jack-o ' - lantern .