Fruit tastes sweeter after cooking to for two reasons – some of the complex carbohydrates are broken down into simple sugars, and some of the sugar caramelizes.