to her shock , the ground began to rise , following the circle of salt to form thick walls of rock and dirt , expanding fast , moving above their heads , curving and growing until they were inside a cave .