When light travels from one medium to another medium, it bends towards or away from medium.this is called Refraction. So the speed of light is different in different medium.
So Speed of light is different in glass and air.
So that stamp placed under a thick glass block appears raised.
I hope it is clear to you.