Does metal oxidize (faster) in dirt?
Iron can corrode faster in soil than in air, particularly if partly immersed in the soil. Moisture and electrolyte are retained in the soil, making it a good anode. Also, microbes in the soil can accelerate corrosion.