Polyphenols in apple can prevent oxidation and turning brown. When these polyphenols are themselves oxidized in air, browning follows. The oxidation of polyphenols are accelerated by alkalis. Putting sliced apples in water can cut off most of air and since water is somehow acidic, oxidation is retarded.