Magic's not at play here, but ancient nanotechnology is. The cup's glass contains nanoparticles of gold and silver, which scatter light differently. When light shines through the cup, it appears green. But, light up the background, and voila, it turns red. Scientists today are still amazed by how the Romans achieved this effect.