Why does the same fire that accepted Aaron's offering in Leviticus 9 turn around and kill two priests in Leviticus 10?

Because the fire itself never changes — what changes is what it meets. The same phrase, “fire came out from before the LORD and consumed,” lands on a commanded offering in Leviticus 9:24 and on two uncommanded priests in Leviticus 10:2, showing that God's holiness is one and the same whether it accepts or judges.

Because it's the same fire, doing the same thing — the only thing that changes between the two chapters is what it lands on.

Read the two verses side by side and the mirror is exact. At the climax of the ordination ceremony, on the priesthood's very first day of service:

“And there came a fire out from before the LORD, and consumed upon the altar the burnt offering and the fat: which when all the people saw, they shouted, and fell on their faces.” — Leviticus 9:24

That is acceptance — the sign that God had received the offering, met with joy and awe. Then, one paragraph later, after two of Aaron's sons offer incense on fire God had never authorized:

“And there went out fire from the LORD, and devoured them, and they died before the LORD.” — Leviticus 10:2

The opening words are nearly identical in Hebrew — “fire went out from before the LORD and consumed” (אֵשׁ ... מִלִּפְנֵי יְהוָה ... וַתֹּאכַל, using the verbs H784 for “fire,” H3318 for “went out,” and H398 for “consumed”). Only the object changes. In 9:24 the fire meets a commanded offering laid out on the altar. In 10:2 it meets two men who had brought incense on their own initiative rather than God's command (Leviticus 10:1). The frame is copied on purpose; the outcome flips because what it touches is different.

This is the hinge the whole chapter turns on. Leviticus 8 consecrated Aaron and his sons. Leviticus 9 showed God's glory accepting their first obedient offering, sealed by fire. Leviticus 10 shows the same holiness, through the same fire, refusing an offering that wasn't obedient. Moses says as much in the very next verse: “by those who come near me I will be shown holy, and before all the people I will be glorified” (Leviticus 10:3) — the same glory named as a noun back in 9:23 now returns as a verb, pronounced over the two men the fire has just killed (H4191, “died”).

The lesson isn't that God is unpredictable. It's the opposite: the fire is perfectly consistent. It always answers to what is placed before it — the exact thing commanded, or something else. Leviticus 9 and 10 are not two different Gods, one gracious and one wrathful. They are one holiness, shown twice, on two different offerings.

The full study traces this fire's reappearances all the way to the book of Revelation, where the same censer-and-altar-fire imagery becomes the instrument of final judgment.