The story
Back-formation from inflammable, which is used to avoid confusion with non-flammable, as the prefix in- is often used to mean "un-; non-", although it was originally meant in a sense closely related to en-.
Etymology from Wiktionary, CC BY-SA 4.0.