In one word oxidisation, you see once the flesh of cut apples is introduced to oxygen, it produces a reaction called “enzymatic browning.”  The apple cells also contain an enzyme that when coming into contact with the oxygen in the air, turns compounds in the apple tissues brown - food rust!