Because the students who had to use every ounce of their willpower to avoid eating the enticing chocolate chip cookies didn’t have the willpower or mental energy left to struggle with a complex puzzle—even though avoiding cookies and persisting on a puzzle are seemingly completely unrelated.