1:8

וַיִּקְרָא אֱלֹהִים לָרָקִיעַ שָׁמָיִם וַיְהִי־עֶרֶב וַיְהִי־בֹקֶר יוֹם שֵׁנִי׃

And the Almighty called the firmament Heavens. And there was evening, and there was morning: a second day.

Bereshit 1:8

וַיִּקְרָא אֱלֹהִים לָרָקִיעַ

Bereshit / Genesis 1:8 · Drash

Bereshit 1:8

וַיִּקְרָא אֱלֹהִים לָרָקִיעַ שָׁמָיִם וַיְהִי־עֶרֶב וַיְהִי־בֹקֶר יוֹם שֵׁנִי׃

And the Almighty called the firmament Heavens. And there was evening, and there was morning: a second day.

Drash דְּרָשׁ

A drop of rennet

You look up at the heavens and ask yourself: what are they made of? People have always asked. The midrash gathers the answers, and one of them is about milk.

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

Bereshit Rabbah And the Almighty called the firmament Heavens

Rav said: fire and water (אֵשׁ וּמַיִם). Rabbi Abba bar Kahana said in the name of Rav: the Holy One, blessed is He, took fire and water, kneaded them together, and from them the heavens were made.

Another explanation. It is written "heavens" (שָׁמַיִם), and it can be read "they assess" (שָׁמִים): the heavens assess the deeds of people. If people are worthy: "The heavens declare His righteousness" (Tehillim / Psalms 97:6). And if not: "The heavens will reveal his guilt" (Iyov / Job 20:27).

Another explanation. "Heavens" (שָׁמַיִם), because people are astonished (מִשְׁתּוֹמְמִים) at them and say: what are they made of? Are they of fire? Are they of water? How astonishing! Rabbi Pinchas said in the name of Rabbi Levi: Scripture itself came and settled the question: "He roofs His upper chambers with water" (Tehillim / Psalms 104:3). So they are of water.

"Paints" (סַמִּים): as these paints are green, red, black and white, so the heavens are sometimes green, and so on.

Rabbi Yitzchak said: "heavens" (שָׁמַיִם) is "carry water" (שָׂא מַיִם), they are laden with water. It is like milk in a bowl: until a drop of rennet (מְסוֹ) falls into it, it quivers. As soon as one drop of rennet falls into it, it at once sets and stands. So too "The pillars of the heavens quiver" (Iyov / Job 26:11): the heavens stood when the rennet was put into them.

"And there was evening, and there was morning: a second day." This agrees with the words of Rav: on the first day the heavens were liquid, and on the second they set.

Takeaway

The midrash plays on the sounds of the word "heavens" (שָׁמַיִם, "shamáyim"): "fire and water" (אֵשׁ וּמַיִם, "esh u-máyim"), "they assess" (שָׁמִים, "shamím"), "are astonished" (מִשְׁתּוֹמְמִים, "mishtomemím"), "paints" (סַמִּים, "samím"), "carry water" (שָׂא מַיִם, "sa máyim").
"It is written" means: the midrash reads the same letters as another word: "they assess" (שָׁמִים, "shamím").
Rennet (מְסוֹ) is what makes milk thicken and set: so explains the book Gur Aryeh on Rashi to this verse.
"Quivers" (מְרַפֵּף) of the milk and "quiver" (יְרוֹפָפוּ) of the pillars of the heavens in Job share one root (רפף), and that is why the midrash links the milk to this verse.
The "fire and water" of Rav is the source of the third explanation of Rashi in the Pshat, and "liquid on the first day, set on the second" are the same words as in Rashi in the Pshat of 1:6.