Moist earth will be of a higher water activity (aw) to support the survival of microbes for a longer period than the dry earth which invariably is of lower aw.
Moist heat is more effective than dry heat in providing deeper penetration of the tissue at the same temperatures. That's why salmonelle will survive longer at dry heat compared to moist heat