This is a population-genetics classic. A gene that causes disease in the homozygous state can still spread in a population if carrying just one copy helps survival. Sickle cell trait is the textbook case of this heterozygote advantage.
The selective pressure is falciparum malaria. People with one sickle gene handle the infection better: parasitised red cells deform and sickle, the spleen pulls them out of circulation early, and conditions inside the cell hinder the parasite. The net result is milder malaria and better survival, which keeps the sickle gene common exactly where malaria is common.
Run through the distractors. G6PD deficiency is its own enzyme disorder; sickle trait does not shield against it. Thalassemia is a separate globin-chain disorder with no protective link. Dengue is caused by a virus and has nothing to do with the red-cell changes of sickle trait.
So the protection conferred is specifically against malaria.
\[\boxed{\text{Malaria (option B)}}\]