There seems some confusion over how ice ages occur. Ice ages are assumed to be climate events when massive ice deposits are formed forming polar ice caps. The mainstream view is that this is caused by the Earth getting a little cooler, aka the Milankovitch Cycle.
In order to form massive ice caps you need lots of snow. And lots of snow requires lots of water that gets evaporated into the atmosphere where it then combines with the influx of solar protons to form ice crystals that then get dumped at the planets poles.
So when a coronal mass ejection impacts the Earth, one that is far worse than the 1859 AD Carrington event, say, when the CME causes massive electric discharges between the ionosphere and oceans, causing evaporation, then ice ages are actually caused by catastrophic rises in temperature or global warming that evaporates the equatorial oceans which then get dumped as snow at the poles. This catastrophic event also causes mass extinctions of some of the species of the biosphere.
But global cooling does not result in ice ages, catastrophic global warming does.