Kerions are generally caused by a fungal infection due to dermatophytes, which are types of fungi that infect the skin, hair, and nails. The most common causative agents are species of Trichophyton and Microsporum. The infection can spread through direct contact with infected humans or animals, or indirectly by touching contaminated objects like combs, hats, or furniture.