CHF is primarily caused by mutations in the PKHD1 gene, which is responsible for producing a protein called fibrocystin. This protein plays a crucial role in the development and maintenance of bile ducts and kidney tubules. Mutations in the PKHD1 gene lead to abnormal bile duct development and fibrosis in the liver.