Painful periods may be linked to mental health, as research suggests that depression can be a causal factor of dysmenorrhea.