Fire and flood are universal images, so it's not surprising that many myth traditions in South Asia and the Middle East include them in their stories of destruction and eventual renewal. See this powerful theme at work in Gilgamesh, Zoroastrian mythology, and the Buddha's Sermon of the Seven Suns."