Devarim / Deuteronomy 14:1 · Pshat
בָּנִים אַתֶּם לַיהוָה אֱלֹהֵיכֶם לֹא תִתְגֹּדְדוּ וְלֹא־תָשִׂימוּ קָרְחָה בֵּין עֵינֵיכֶם לָמֵת׃
You are children of the Eternal your Almighty. You shall not cut yourselves, nor make any baldness between your eyes for the dead.
Pshat פְּשָׁט
The Father lives
When someone close dies, grief can break a person. The Torah forbids cutting oneself in grief and explains why: you have a Father.
Sforno: one should not reach the limit of worry and grief over the dead when a closer one, higher than him, remains to hope in. You are children of the Eternal, He is your Father and lives for ever. Ibn Ezra: He loves you more than a father loves his son. All He does is for good, even if you do not understand it, as little children do not understand their father's deeds but rely on him.
How Sforno and Ibn Ezra explain it
Sforno You are children of the Eternal your Almighty. You shall not cut yourselves
For it is not fitting to show the utmost worry and grief over a close one who died when there remains a close one higher than him in standing, in whom to hope for good. Therefore: you are children of the Eternal, and He is your Father, living for ever, and it is not fitting for you to worry and mourn to the utmost over any dead.
Ibn Ezra And the sense of "children"
Since you know that you are children of the Eternal, and He loves you more than a father his son, do not cut yourselves over anything He does. For all He does is for good. And if you do not understand Him, as little children do not understand the deeds of their father but only rely on him, so you do too. For you are a holy people, and you are not like all the other nations, therefore do not act as they do.
And the sense of the next section, "You shall not eat any abomination" (Devarim / Deuteronomy 14:3): for you are a holy people in heart and in mouth, and be set apart from the nations, and let all who see you know you by this, that you do not make baldness for the dead and do not eat every living thing. And if you are a holy people, it is not fitting for you to eat the unclean and defile the soul.
Takeaway
Cutting oneself and shaving baldness for the dead was the custom of the surrounding nations. Ibn Ezra in a neighbouring note writes: "as the custom of the nations to this day".
Sforno and Ibn Ezra read the first words of the verse as the reason for the ban: a son whose father lives has no cause for utter despair.
Onkelos translates "you shall not cut yourselves" as "you shall not tear yourselves".