"they burned an incense offering to Yahweh in a way that he did not approve of". Here the word "fire" is used to refer to "burning incense." See how you translated a similar phrase in Numbers 3:4.