I believe the flame deflects because it is depleted in oxygen which is
paramagnetic. The oxygen rich normal air is attracted to the face of the
magnet pushing away (with a buoyant force) the candle flame.