Because it's evolutionarily favourable - the same reason sex feels good. One is instantaneous pleasure, and the other is sustained doses of feelings of satisfaction, because they optimise for different things; but ultimately you can understand them easily if you think about how core they are to what evolution favours.