Correct answer: natural selection acting on favourable variations
Natural selection works by favoring individuals with beneficial variations, so those traits become more common over generations. The theory is not mainly about the environment alone or the origin of variations, but about selection acting on favorable ones.