Vayikra / Leviticus 16:1
וַיְדַבֵּר יְהוָה אֶל־מֹשֶׁה אַחֲרֵי מוֹת שְׁנֵי בְּנֵי אַהֲרֹן בְּקָרְבָתָם לִפְנֵי־יְהוָה וַיָּמֻתוּ׃
And the Eternal spoke to Moshe (Moses) after the death of the two sons of Aharon (Aaron), when they drew near before the Eternal and died.
Pshat פְּשָׁט
The second doctor warns more strongly
Rashi brings a parable: a doctor who reminds a sick man of someone else's death warns him more strongly. That is why the ban on going within the curtain is said "after the death of the two sons of Aharon (Aaron)." Ibn Ezra and Rashbam add: so the sons of Aharon went where one may not go.
How Rashi, Ibn Ezra, and Rashbam explain it
Remez רֶמֶז
Four words and the word "two"
Kli Yakar: the four words "when they drew near before the Eternal and died" are themselves the Eternal's first speech to Moshe (Moses). The harsh "spoke" tells the cause of their death, the gentle "said" carries the warning to Aharon (Aaron). Malbim: the form "two" (שְׁנֵי) speaks of equality: the brothers were equal in their death.
How Kli Yakar and Malbim explain it
Drash דְּרָשׁ
Why the sons of Aharon died
Pesikta DeRav Kahana: in four places the Torah mentions the death of the sons of Aharon (Aaron) together with their misdeed. Rabbi Elazar HaModai explains why: so that no one would say they had secret sins. Bar Kappara, in the name of Rabbi Yirmiyah bar Elazar, names four things for which they died, and the last of them is that each acted on his own, without taking counsel with the other.
How Pesikta DeRav Kahana explain it
Sod סוֹד
Love stronger than life
Ohev Yisrael: the death of Nadav (Nadab) and Avihu (Abihu) was not death in the simple sense. They came so close to the highest sweetness that their souls merged with it, and they did not want to part. Shem MiShmuel: they knew they would not bear this love, but hoped that their love beyond reason would awaken the same love from above for Israel.
How Ohev Yisrael and Shem MiShmuel explain it