Honoring Hashem is not naming a god
How can an altar be called El Elokei Yisrael, which means El, the Elokim of Yisrael? The Ramban opens with the words of Rashi: that was not what the altar itself was called. Yaakov named it for the miracle, so that people would remember the praise of the Holy One, blessed be He, whenever they spoke of it. Rabbi Shepherd warns that saying an object is called by the name of Hashem calls for great care. To call a thing by His name in order to honor Him is one matter. To take an object and say "this is my god" is the definition of idol worship. The same holds for the angels, he says. And he explains the reading of Onkelos, in which Yaakov served Hashem through the altar.
Named for the miracle
Rashi, as the Ramban brings him:
לֹא שֶׁהַמִּזְבֵּחַ קָרוּי אֱלֹהֵי יִשְׂרָאֵל אֶלָּא עַל שֵׁם שֶׁהָיָה הַקָּדוֹשׁ בָּרוּךְ הוּא עִמּוֹ לְהַצִּילוֹ קָרָא שֵׁם הַמִּזְבֵּחַ עַל שֵׁם הַנֵּס, לִהְיוֹת שִׁבְחוֹ שֶׁל הַקָּדוֹשׁ בָּרוּךְ הוּא נִזְכָּר בִּקְרִיאַת הַמִּזְבֵּחַ, כְּלוֹמַר מִי שֶׁהוּא אֵל הוּא אֱלֹהִים לִי שֶׁשְּׁמִי יִשְׂרָאֵל. וְכֵן מָצִינוּ בְּמֹשֶׁה "וַיִּקְרָא שְׁמוֹ ה׳ נִסִּי" (שְׁמוֹת 17:15), לֹא שֶׁהַמִּזְבֵּחַ קָרוּי ה׳ אֶלָּא עַל שֵׁם הַנֵּס קָרָא שֵׁם הַמִּזְבֵּחַ לְהַזְכִּיר שִׁבְחוֹ שֶׁל הַקָּדוֹשׁ בָּרוּךְ הוּא, ה׳ הוּא נִסִּי.
It does not mean that the altar was called "The Elokim of Yisrael," but because the Holy One, blessed be He, had been with him to deliver him, he named the altar in honor of the miracle so that the praise of the Holy One, blessed be He, would be recalled when people referred to the altar. Thus it would mean, "He Who is El is the Elokim of me whose name is Yisrael." Similarly we find in the case of Moshe: And he called its [the altar's] name Hashem Nissi. It is not that the altar was called by the Divine Name but rather that he named the altar in honor of the miracle so that the praise of the Holy One, blessed be He, might be mentioned: "Hashem, He is my banner."








