As the cubes melt, they help to create steam which keeps the dough nice and moist on the inside as the outer crust is formed.