Dynamic thermal shock in hollow spheres