The Noah flood story is likely due to the above historic events.
I'm more inclined to interpret the Noah's flood story as
mythological than
historical.
I doubt that it is an echo of historical events that may or may not have taken place at the end of the last ice age, perhaps 10,000 years earlier, when sea levels rose dramatically and the Pillars of Hercules might have became the greatest of all waterfalls, flooding the Mediterranean basin..
I'm more inclined to interpret it as a late Hebrew version of a much older Mesopotamian proto-philosophical myth. Myth can perhaps be described as the expression of what we today might think of as philosophical ideas in the form of
stories instead of theories.
In many ancient myths, water represents chaos. That's largely because it is formless and takes the form of whatever container it is placed in. So we see myths imagining that the primordial state of being was water, and that creation was the imposition of form onto the formlessness. (An early version of the matter/form ontology that we later see with the Greeks and even into the present.) Water was what the Greeks called the 'arche' (primordial stuff), pure potentiality in Aristotle's thinking, while form was the spiritual element, the rational 'logos' imposed on it to make it actually
be something.
https://en.wikipedia.org/wiki/Arche
We still see hints of this kind of by-then long traditional mythological cosmology in Genesis 1:2, which reads: "Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters."
In ancient Mesopotamia most buildings were made out of mud brick. The biggest danger that they knew was flooding, when the Tigris and Euphrates rose out of their banks and threatened to destroy all of humanity's works,
returning everything to the chaos from which it had originally emerged
I think that's the context of the Noah's flood story. It's an attempt to employ the then-ancient and long-traditional imagery to depict God tiring of his creation and returning it to the chaos to which he had originally given form with his Word.