It is a genetic disease caused by a gene mutation. The gene controls the movement of salts and water into and out of the cells.The mutated form of the gene results in thick mucus to be secreted by the lungs, airways and pancreas, including many other symptoms. The mutated gene is recessive to the normal gene.