How did the people of places as far away as Japan and South America also know the story from Mesopotamia?
They didn’t. People experienced local storms and floods and developed stories to explain them.