The pollution from the Industrial Revolution darkening the trees. After the trees darkened from all the soot in the air, the white moths were easier to see and more vulnerable to predators. The dark moths blended into the dark tree bark.
True it does have compressed potential energy