Mechanisms and models of cratering in earth media