A child develops cystic fibrosis when a sperm carrying a CF allele successfully fertilizes an egg that also carries a CF allele. This inheritance requires both parents to pass on a copy of the mutated CF gene, demonstrating autosomal recessive inheritance. As such, it's crucial that both alleles are present for the child to manifest the disease. ;