It generally tastes better cooked, or at least was different. For those who started doing it, they got the unknown benefit of more energy absorption leading to a long-term societal evolution to do so to most food (as they had a better survival chance).
Not necessarily! Due to chemical reactions, certain foods are sweeter, less bitter, and so forth when cooked. (e.g. onions caramelize, glucosinolates [0] in kale leach out when blanching)
Evolution already predisposed us to like sugary foods (e.g. fruit) and dislike bitter ones [1].