why is a piece of apple rotting a chemical change