Bereshit / Genesis 1:8 · Pshat
וַיִּקְרָא אֱלֹהִים לָרָקִיעַ שָׁמָיִם וַיְהִי־עֶרֶב וַיְהִי־בֹקֶר יוֹם שֵׁנִי׃
And the Almighty called the firmament Heavens. And there was evening, and there was morning: a second day.
Pshat פְּשָׁט
Water in the word "heavens"
A name often tells what a thing is made of. The sages heard this in the word "heavens" too.
The word "heavens" (שָׁמַיִם) sounds like "there is water" (שָׁם מַיִם), and its letters are made of "fire and water" (אֵשׁ וּמַיִם). From this the sages concluded: God mixed fire with water and made the heavens from them. Five things God named Himself before there was a human: light, darkness, heavens, earth and seas.
How Rashi, Ibn Ezra, and Radak explain it
Rashi And the Almighty called the firmament Heavens
"Carry water" (שָׂא מַיִם), "there is water" (שָׁם מַיִם), "fire and water" (אֵשׁ וּמַיִם), which He mixed with each other and made the heavens (שָׁמַיִם) out of them.
Ibn Ezra And He called
Five things the Eternal named, because there was no man yet: light, darkness, the heavens, the earth and the seas. And so too man.
Radak Heavens
The word "heavens" (שָׁמַיִם) is never found in the language in the singular. My father, of blessed memory, wrote that "heavens" means "there is water" (שָׁם מַיִם). For it says: "Let there be a firmament in the midst of the water, and let it separate water from water", and then it says: "And the Almighty called the firmament Heavens", that is, "there is water". Two letters mem (מ) came together, and one of them was dropped, as was done in the name Yerubbaal (Jerubbaal, יְרֻבַּעַל) from the words "let Baal contend with him" (יָרֶב בּוֹ הַבַּעַל). And the upper heavens too are called "heavens" after the name of the firmament.
So too in the words of our sages, of blessed memory (Chagigah 12a): "What is 'heavens'? Rabbi Yose ben Chanina said: 'There is water.'"
But by our explanation God called the firmament heavens because it too is stretched out like a tent. He called it so in a borrowed sense, after the name of the upper heavens. So too "toward the heavens" in the verse "let Moshe (Moses) throw it toward the heavens" (Shemot / Exodus 9:8) means "into the air".
Takeaway
Rashi takes all three explanations from the sages: "fire and water" are the words of Rav (Bereshit Rabbah 4:7) and of a baraita in the Talmud (Chagigah 12a), "there is water" is from Rabbi Yose bar Chanina (Chagigah 12a, in Radak "ben Chanina"), "carry water" is from Rabbi Yitzchak (Bereshit Rabbah 4:7).
This is a play of sounds: "heavens" (שָׁמַיִם) is read "shamáyim", while "carry water" is "sa máyim", "there is water" is "sham máyim", "fire and water" is "esh u-máyim".
The Almighty named light and darkness on the first day (Bereshit / Genesis 1:5), the heavens here, the earth and the seas on the third day (Bereshit / Genesis 1:10). The animals were named by man (Bereshit / Genesis 2:20), but the name "Adam" was given to man by the Almighty Himself (Bereshit / Genesis 5:2).
"My father" in Radak is Rabbi Yosef Kimchi.
Yerubbaal is the second name of Gideon: he was called so after he tore down the altar of Baal (Shoftim / Judges 6:32). In the words "let Baal contend" (יָרֶב בַּעַל) two letters bet (ב) stand side by side, and one remained in the name. So too in "there is water" (שָׁם מַיִם), of the two mem (מ) one remained in the word "heavens" (שָׁמַיִם).