If I remember from what my teacher said:
It's just an example of how our brain creates depth perception by combining the two images our left and right eyes send to the brain. By manipulating the colour of the image (through the blue and red coloured lenses of the glasses), our brain interprets...