Cooking some of the peaches helps to concentrate the flavor and break down the fruit, making it easier to blend. It also allows the added sugar to draw out juices from the peaches, enhancing the sweetness and peachy flavor of the ice cream.