The French word for fire is really a fireplace. feu comes from Latin focus, which meant a hearth, and in Late and Vulgar Latin it replaced the classical word ignis. Spanish fuego and Italian fuoco are the same. So when a Spanish officer shouts ¡fuego!, he is, by origin, shouting “hearth”. Wiktionary is careful to add that the French word has nothing to do with English fire or German Feuer, in spite of how alike they look.
From the flame to the room
The replacement is one of the quietest revolutions in Romance. Latin ignis was a perfectly good word, and it lost out to the word for the place where the fire was kept. English has that hearth word in two surprising forms. focus is the same word, taken into the sciences by Johannes Kepler in describing the ellipses of the planets, and fuel comes from it through Old French. So the point at which you concentrate your mind was once a Roman fireplace.
The god of fire
Latin’s old word did not vanish everywhere. ignis survives in ignition and igneous, and it has famous relatives. Sanskrit अग्निः (ɐɡnih) is agni, which also means Agni, the god of fire. Russian огонь (ɐˈɡonʲ) and Polish ogień are the same word, so *h₁n̥gʷnís has been burning in India and Russia for some thousands of years.
Two fires
Indo-European in fact had two words for fire, and its branches had to choose. The other word is *péh₂wr̥, behind English fire, German Feuer, Ancient Greek πῦρ (pŷːr) and Hittite 𒉺𒄴𒄯 (paxːur). Greek gave English pyre, which is a doublet of fire, so the funeral heap and the bonfire are one word by two routes. Gothic 𐍆𐍉𐌽 (foːn) used a form of it too. Swedish eld, though Germanic, says something else. As with water, a word that everyone needed turned out to have two forms that branches could keep or drop.
Elsewhere, the old words are simple. Hungarian tűz goes back to Proto-Ugric, replacing an older Uralic word that Finnish tuli still has. Japanese 火 (çi) was pi in Old Japanese and has softened its first consonant to h, and Korean 불 (pul) may be its cousin. Malay api, Tagalog apoy and Hawaiian ahi are close relatives, going back to Proto-Austronesian *Sapuy. Mandarin 火 writes a picture of flames. Turkish ateş borrowed its word from Persian آتش (ʔɒːˈtæʃ), which goes back to Middle Persian ātaxš, and Arabic نار (naːr) and Hebrew אש (eʃ) each have their own.
Nobody decided that ignis should go. It simply lost to the hearth.