Fluctuations in ancient Earth’s environment might have propelled the chemical complexity that laid the foundation for life.