Every time a transistor switches, it charges or drains a tiny capacitor, and that costs energy. Power is that energy times how often it happens: our activity factor α [the fraction of the chip switching each cycle], the capacitance C, the voltage squared and the clock frequency f. Because voltage is squared, and a slower clock lets the chip run at a lower voltage, slowing down a little saves a lot of energy.