Certain cancer treatments can lead to dermatitis by directly damaging the skin or by triggering an immune response. For example, radiation therapy can cause radiation dermatitis, which occurs due to the damage of skin cells by ionizing radiation. On the other hand, chemotherapy and targeted therapies can cause skin reactions by affecting rapidly dividing cells, including those in the skin.