To get a little more technical, ethylene triggers the creation of enzymes, which cause starches and acids to break down into sugar. They also break down cell walls, softening the fruit. Fruits ripen in order to kick-start a new growing cycle, by providing their seeds with nutrients