Repetition compulsion

is a psychological phenomenon in which a person repeats a traumatic event or its circumstances over and over again… For example, one may choose to stay with a ‘normal’ pattern of pain and chaos instead of risking the perceived trauma of new experiences.