In four places Scripture mentions the death of the sons of Aaron, and it mentions their offense. And why all this? To make known to you that there was nothing in their hand except that one sin alone. Rabbi Eleazar of Modi'in said: Go out and see how grievous is the death of the sons of Aaron before the Holy One, blessed be He, for in every place where He mentions their death, He mentions their offense. And why all this? So as not to give an opening of the mouth to those who come into the world to say, "They had corrupt deeds in secret, on account of which they died."
Why Scripture Repeats the Death of Aaron's Sons Four Times
Midrash Tanchuma Buber, Achrei Mot 7:1
בארבעה מקומות מזכיר מיתתן של בני אהרן [ומזכיר סורחנן, וכלכך למה, להודיעך שלא היה בידם אלא אותו עון בלבד. אמר ר' אלעזר המודעי צא וראה כמה הוא קשה מיתתן של בני אהרן לפני הקב"ה, שבכל מקום שהוא מזכיר מיתתן מזכיר סורחנן, וכל כך למה, שלא ליתן פתחון פה לבאי העולם לומר מעשים מקולקלין היה להם בסתר שעל ידי כן מתו.