Roasting tomatoes caramelizes the natural sugar in the tomatoes, intensifying the flavor and sweetness.