IIRC one fun theory is that the Flood myth comes from the end of the Ice Age and what is today the Black Sea getting absolutely flooded, destroying a shitload of primitive little tribes and popular hunting and foraging grounds. Though that only really explains the Europeans and Middle Easterners...