Parshas Tetzaveh · EXTRA (side-ring) · Passuk 28:1
English: The reason Nadav, Avihu, Elazar, and Itamar are named as Aharon's sons is so that one should not think that, when their father was anointed to the priesthood, these sons automatically became priests. Rather, they themselves were inducted. Thus Phinehas and the other sons born later were not included at that time: only these four, who were anointed with Aharon, and their descendants born afterward, became priests.
Ramban explains that the verse names Aharon's four sons to define the initial priestly consecration: they were inducted with Aharon, while Phinehas and later-born descendants were not automatically priests by virtue of Aharon's anointing.