Classically, it is due to an aspergilloma, a form of aspergillosis, that occurs when the fungus Aspergillus grows in a cavity in the lung.
Aspergilloma, a type of aspergillosis, is caused by fungal growth in a lung cavity.