The light oscillates electrons which then absorbs some of the energy and reemit it thereby causing a delay.
This is defined as a subatomic particle which has a negative charge. In the glass of water the light oscillates the electrons which absorbs some energy.
The re-emission is what slows light when it passes from air into glass or water.
Read more about Electrons here https://brainly.com/question/13998346