such tunnels and caves were formed as the surface ice melted in the summer 's heat , and the warm water leaked through cracks and fissures , flowing downward and melting out these shafts and pockets .