Answer:
All this is due to <u>atmospheric pressure</u> (which decreases with height) and affects the boiling point of water. That is why for recipes that carry some liquid (cake or bread, for example) it is necessary to modify both the ingredients and the baking time.
To better understand this, let's begin by explaining that the boiling point of water at an atmospheric pressure at sea level is and as the height increases and the atmospheric pressure decreases, this boiling point will diminish, as well.
This means the water will not boil at the same temperature at different pressures, because at lower pressure the boiling temperature will be lower.
In other words, as at this point the water boils at a lower temperature, it <u>heats less</u>, so that the <u>food takes longer to cook </u>(because it is necessary to increase the cooking time in order to have a well done food).
This is because as the height increases, the atmosphere becomes drier, the air has less oxygen and moisture evaporates quickly, therefore, it is sometimes necessary to add more water to compensate this evaporation during cooking.
Hence, at higher altitudes, the cooking time will be longer.