The exact cause of dermatomyositis is not well understood. It is believed to be an autoimmune disorder where the body’s immune system mistakenly attacks its own tissues. Genetic factors, infections, and environmental factors are thought to contribute to the development of the disease.