Depression may increase the risk of menstrual pain, or dysmenorrhea, through mechanisms such as sleep disturbances.