The heat of cooked food meets the water in the air and condenses, resulting in water vapor, which is a physical phenomenon. We can learn from physics classes in middle school that there are water molecules invisible to the naked eye in the air, and the concentration of water molecules in the air is called humidity. Small humidity means that the air is dry, and large humidity means that the air is humid.
Cooked food contains a lot of heat energy, and when it is brought to the table, the heat is dissipated, and when it meets water molecules, it condenses, forming a steaming look.
With dry ice, which is solid carbon dioxide. Also useful ice, the water vapor in the air meets the low temperature of the ice, it will turn into small water droplets to form fog.