Shoftim / Judges 13:18 · Drash
וַיֹּאמֶר לּוֹ מַלְאַךְ יְהוָה לָמָּה זֶּה תִּשְׁאַל לִשְׁמִי וְהוּא־פֶלִאי׃
And the angel of the Eternal said to him: "Why do you ask my name? It is hidden."
Drash דְּרָשׁ
The honour is not mine
You helped someone, and you want people to know. Or would it be better if the thanks went to someone else?
Rabbeinu Bahya: the angel does not reveal his name, so as not to take honour for himself and so that people will not say he worked the miracle. An angel is only a messenger, like a servant doing his errand, and honour belongs only to the Holy One, blessed is He.
How Rabbeinu Bahya explain it
Rabbeinu Bahya Why do you ask my name (Bereshit / Genesis 32:30)
Or one may say: "Why do you ask my name": it is not our way to reveal it. For an angel does not want to reveal his name, so as not to take a crown and honour for himself, lest people say: "So-and-so worked this miracle," as though the matter depended on him. Yet he is only like a servant doing his errand. This is what the angel said to Manoach (Manoah): "Why do you ask my name? It is hidden." That is, it is concealed, we do not want to reveal it, so as not to take a crown and honour for ourselves, for honour belongs only to the Holy One, blessed is He, as it says: "Everyone who is called by My Name, for My glory I created him" (Yeshayahu / Isaiah 43:7), and it is written: "Give to the Eternal, sons of the mighty, give to the Eternal glory and strength" (Tehillim / Psalms 29:1).
Takeaway
Manoach asked the angel's name so as to honour him when his words came true (Shoftim / Judges 13:17).
Right after this answer the angel went up to heaven in the flame of the altar, and Manoach understood that it was an angel of the Eternal (Shoftim / Judges 13:20–21).
In the book of Bereshit an angel likewise refused to tell Yaakov (Jacob) his name (Bereshit / Genesis 32:30).