When organic matter (fish food, waste, dead fish, plant, etc) is kept in anaerobic conditions, it breaks down and hydrogen sulphide gas is formed. The gas remains trapped under the substrate until disturbed and if it is released into the water, it can kill everything in the tank.How does a sulfur pocket form? Sorry, I'm quite new to this hobby.
Hydrogen sulphide gas smells of rotten egg. If you have it in the substrate and it is released from the gravel, you will notice the smell immediately. If this happens, do a huge water change and aerate the tank water.
When there is anaerobic conditions in the substrate, the gravel or sand will turn black.
Anaerobic (lacking oxygen) conditions can occur under 2 or more inches of fine substrate (sand), and under 4 inches of course substrate (aquarium gravel).
Aerobic (has oxygen) conditions occur in the water and in the top couple of inches of substrate.
Regular gravel cleaning will prevent anaerobic conditions from occurring.