We can say that people made these stories because they wanted to describe situations and natural features which they couldn‘t take and understand. So they made legends, to understand historical events and mysterious situations more easily.