Dissociation is the brain’s way of protecting itself from overwhelming stress or emotion, and it’s often linked to trauma.