The first flood occurred because of lucifers rebellion. When he tried to exalt his throne above the throne of God. God destroyed the kingdom lucifer was ruling over ..the heavens and earth.. hence the Re creation of both
And where the heck are you getting this from? The first flood I mean.