Vayikra21:1

וַיֹּאמֶר יְהוָה אֶל־מֹשֶׁה אֱמֹר אֶל־הַכֹּהֲנִים בְּנֵי אַהֲרֹן וְאָמַרְתָּ אֲלֵהֶם לְנֶפֶשׁ לֹא־יִטַּמָּא בְּעַמָּיו׃

And the Eternal said to Moshe (Moses): "Say to the kohanim, the sons of Aharon (Aaron), and say to them: None shall make himself impure for a dead person among his people,

Vayikra 21:1

וַיֹּאמֶר יְהוָה אֶל־מֹשֶׁה

Vayikra / Leviticus 21:1 · Pshat

Vayikra 21:1

וַיֹּאמֶר יְהוָה אֶל־מֹשֶׁה אֱמֹר אֶל־הַכֹּהֲנִים בְּנֵי אַהֲרֹן וְאָמַרְתָּ אֲלֵהֶם לְנֶפֶשׁ לֹא־יִטַּמָּא בְּעַמָּיו׃

And the Eternal said to Moshe (Moses): "Say to the kohanim, the sons of Aharon (Aaron), and say to them: None shall make himself impure for a dead person among his people,

Pshat פְּשָׁט

Say it, and say it again

Sometimes the same request is repeated twice. Is the second time meant for you, or for those around you?

Rashi: "say" and "say to them" is repeated so that the adults watch over the little ones too. Sforno: the first "say" is about what the kohanim teach the people: to tell the pure from the impure. The second is about a holiness for them alone: not to become impure for a dead person who is not their kin.

How Rashi and Sforno explain it

Rashi Say to the kohanim

"Say" and "say to them": to warn the adults about the little ones.

Rashi He shall not make himself impure among his people

While the dead person is among his people. Excluded is a dead person whom no one is there to bury.

Sforno And the Eternal said to Moshe: Say to the kohanim

What was said above: to understand and to teach about every kind of impurity, to tell the pure beast from the impure and the impure bird from the pure. This fits the kohanim better, as it says: "to distinguish between the holy and the ordinary and between the impure and the pure, and to teach" (Vayikra / Leviticus 10:10–11).

Sforno And say to them

That besides this they must guard themselves also from the impurity of the dead and from profaning their offspring: these are levels of holiness for the kohanim alone.

Sforno None shall make himself impure for a dead person among his people

None of the kohanim shall make himself impure for a dead person of his people, that is, for any dead person of the common folk who is not his kin but only of his people.

Takeaway

Rashi's words about the adults and the little ones come from the Talmud (Yevamot 114a).
Midrash Tanchuma says: the double "say" means that for a dead person whom no one is there to bury (מֵת מִצְוָה) the kohen becomes impure, and for others he does not (Tanchuma, Emor 3).
The words "to distinguish between the holy and the ordinary" the Eternal said to Aharon when He forbade the kohanim to drink wine before their service (Vayikra / Leviticus 10:9–10).