The candle warms the air inside the glass, causing higher pressure. After the candle goes out (due to the oxygen being used) the air begins to cool. This cooling air creates lower pressure, creating a ...