Bereshit / Genesis 1:8
וַיִּקְרָא אֱלֹהִים לָרָקִיעַ שָׁמָיִם וַיְהִי־עֶרֶב וַיְהִי־בֹקֶר יוֹם שֵׁנִי׃
And the Almighty called the firmament Heavens. And there was evening, and there was morning: a second day.
Pshat פְּשָׁט
Water in the word "heavens"
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
Remez רֶמֶז
A name of peace, not of dispute
Kli Yakar explains why God did not leave the firmament the name "firmament" (רָקִיעַ): that word speaks of division and dispute. He called it "heavens" (שָׁמַיִם), a word made of "fire" (אֵשׁ) and "water" (מַיִם): water, the sign of mercy, entered it whole, while a letter dropped from fire, the sign of judgment. Mercy is stronger than judgment, and a dispute for the sake of Heaven ends in peace.
How Kli Yakar and Agra DeKala explain it
Drash דְּרָשׁ
A drop of rennet
The midrash hears in the word "heavens" (שָׁמַיִם) both "fire and water" (אֵשׁ וּמַיִם) kneaded together and "they assess" (שָׁמִים): the heavens see what people do. And "they are astonished": people look up and ask what they are made of. And the heavens set, says the midrash, like milk from a drop of rennet: on the first day they quivered, on the second they became firm.
How Bereshit Rabbah explain it
Sod סוֹד
Heavens established by a dispute
The Zohar says: on the second day there was a dispute, and the heavens were established through it, for a dispute for the sake of Heaven leaves a lasting result. "Heavens" is fire and water, between which God set peace. The greater the craftsman, Baal HaSulam explains, the farther apart he sets the edges, and the more wondrous the peace between them.
How Zohar and Baal HaSulam explain it