Ancient tectonic activity was trigger for ice ages