The objects beyond the hot air appear to be wavy because the medium for light to pass through changes,the light passes from denser to rarer and then again to denser medium thereby causing refraction in the air. Moreover the refractive index of the hot air keeps changing which leads to give the wavy appearance of the object.