Sickle cell anemia is caused by a mutation in the HBB gene, which provides instructions for making the beta-globin subunit of hemoglobin. This mutation results in the production of hemoglobin S instead of normal hemoglobin A. The disorder follows an autosomal recessive inheritance pattern, meaning that a child must inherit two copies of the mutated gene (one from each parent) to develop the disease.