Nonlinear mechanics of phase-change-induced accretion-ablation