CF occurs because of mutations in the gene that makes a protein called CFTR (cystic fibrosis transmembrane regulator). A person with CF produces abnormal CFTR protein — or no CFTR protein at all, which causes the body to make thick, sticky mucus instead of the thin, watery kind.