Most of middle east cultures draw the myth from Mesopotamian cultures, whose flood myth most likely refers to the flooding of the Persian gulf (which Eufrat and Tigris drain to currently, but used to be a fertile lowland with multiple rivers) cca 8kya.
https://www.livescience.com/10340-lost-civilization-existed-...
Considering the map in this article, with abundance of rivers across the whole Persian gulf plain, I would suggest that the myth of exile from Eden is also related to it - after the flooding and subsequent move of people upriver between the Eufrat and Tigris there was a need to create irrigation channels to keep the agricultural production up at necessary levels. Creating and maintaining these channels is hard, back-breaking work, and it might have inspired the famous 'By the sweat of your brow you will eat your food' line.