Fog forms because warm air rises and cools down. Heat is released during condensation, so the air continues to rise. As a result, the fog droplets are carried upward and do not fall. You can observe this with water vapor in a cooking pot.