It's caused by a mutation in the gene responsible for making hemoglobin, a protein in red blood cells.