Iron objects get rusted because of the reaction with oxygen in the presence of moist air. In coastal areas, the presence of moisture is more because of sea or ocean while in deserts the air is dry and hot. Therefore, rusting of iron objects is faster in coastal areas than in deserts due to the presence of more moisture.