In the region above the fire, the hot air is lighter than the cool air above it. Further, the refractive index of a hotter region is less than the cooler region and it is not static.
These physical conditions are not steady. Subsequently the image when seen through the hot region is not stationary. The apparent position of the object fluctuates. This gives wavering effect to the image.