Explain why, when a burning candle is covered with an inverted gas jar, the candle gets extinguished after some time.