It can be caused directly or indirectly by
stress, allergic reactions (hives) heat or sun exposure, bacterial, viral or fungal infections, underlying medical illness or medications. Scaling, blister formation, itching or ulceration may or may not accompany the rash.
There are several distinct types of dermatitis such as allergic contact dermatitis, irritant dermatitis, atopic dermatitis, etc.