Allah created the heavens and earth in six days. Then he mounted the throne. 57:4
"Naught of disaster befalleth in the earth or in yourselves but it is in a Book before we bring it into being - Lo! that is easy for Allah."
All natural disasters are planned by Allah to cause human suffering. He does it by the Book. It's easy for Allah! 57:22