The etiology of dermatitis is multifaceted, involving genetic, immunological, and environmental factors. For example, atopic dermatitis is often linked to a family history of allergies or asthma, while contact dermatitis results from direct exposure to irritants or allergens. Risk factors include a personal or family history of eczema, allergies, asthma, and exposure to certain irritants and chemicals.