Rewards in the distant future (two marshmallows later) are less salient and thus receive lower weight. So when we think about one versus two marshmallows in the abstract future, two is better than one. But when one marshmallow is right in front of us now, it suddenly beats two.