Gas leaks occur from gas pipes if the pipes have undergone some sort of corrosion or cracks. It can also occur from damaged pipes in case of floods or earthquakes. This is mostly for outdoor pipes. For indoor pipes, the gas leak is usually due to loose fitted or cracked pipes.