Dopamine's Function: Creating the Want
Dopamine didn't affect liking something - but it was created the 'wanting'. Dopamine increases temptation. Wanting is more fundamental than liking. Ultimately, it doesn't matter for the preservation of our genes whether we like sex, or like food. Far more important is whether we want to have sex, and whether we seek out food.