Why is coccidioidomycosis a fungal disease?

It is a fungus. Coccidioides immitis is the actual name of the fungus that causes the disease coccidioidomycosis. It is a fungal infection because it is caused by a fungus. This is just the same as why a bacterial infection or viral infection is called such.