Certain genes control how the body makes hemoglobin protein chains. Thalassemias happen when these genes are missing or changed in some way.