It's because the reaction is taking place in warm air (or rather, air warmer than the surrounding air). Cooler air is denser and sinks meaning the opposite effect is that warm air rises. The direction of the flames is an indication of the truth of this.
Thnx,now i got it