God used famines in the lives of Abraham, Isaac and Jacob to test their faith. It indicates that the climate was unstable, or cyclical, with periods of warming and cooling. There has been a net loss of global ice ever since.
"Heavy rainfall and aridity?" An ecosystem had 40 days and nights of rain, was buried in sediment, and what was left afterwards dried out. The Devonian is one of the biggest jokes in human history.