Torah Temimah cites Chagigah 12a.
What is “shamayim”? Rabbi Yose bar Chanina said: “sham mayim” — there is water. It was taught in a baraita: Shamayim — fire and water; this teaches that the Holy One, blessed be He, brought them and mixed them together and made from them the firmament.