Ge 8:1 Then God remembered Noah, and every living thing, and all the animals that were with him in the ark. And God made a wind to pass over the earth, and the waters subsided.
2 The fountains of the deep and the windows of heaven were also stopped, and the rain from heaven was restrained.
3 And the waters receded continually from the earth. At the end of the hundred and fifty days the waters decreased.
Pagans in ancient times worshiped gods of the wind and of the waters. Moses is showing his original Israelite readers here the fact that it is their God, the true God, who controls the wind and the waters.