In prehistoric times, the Earth was shaped by floods, mega-tsunamis and meteor strikes. Scientists find out why.