Moral Tastebuds

All people have the same taste buds on their tongue, but people have very different likes and dislikes of food and drinks. If we could consider our tastebuds as a metaphor for our morality, how did we arrive at our likes and dislikes in our moral values?