Valley fever, also called coccidioidomycosis, is caused by two types of fungi found in the soil in some areas. Anything that stirs up soil, such as farming, the wind or construction, can send fungal spores into the air. Breathing in the spores can cause infection. People with suppressed immune systems are particularly at risk.