Frozen soil subsurface barriers: formation and ice erosion