Trauma Reenactment is often at play, in BDSM relationships imo, although unsurprisingly many people resist the idea that who they are sexually is shaped by unpleasantness and trauma from their pasts. Which while unsurprising, is illogical - who we are as whole beings are shaped by our experiences, and our sexual desires are not magically excluded from that.
This piece gives a great - if lengthy - overview of trauma reenactment.
www.ncbi.nlm.nih.gov/pmc/articles/PMC3330499/
Many individuals re-create and repetitively relive the trauma in their present lives. These phenomena have been called reenactments. For example, it has been found that women who were sexually abused as children are more likely to be sexually or physically abused in their marriages. It has been noted that traumatized individuals seem to have an addiction to trauma. A number of researchers have observed that retraumatization and revictimization of people who have experienced trauma, especially trauma in childhood, are all too common phenomena.
I haven't some across any research specifically looking into the links between trauma reenactment and BDSM as a practice, but from my own personal experience, and discussions with many friends who are drawn to BDSM practices, there seems to be a fairly strong correlation.
The connections are not always obvious either - it's not that you were choked during sexual abuse as a child, so now you require that. More, (and I am not a psychologist, so am spitballing here based off what I've read, and come across,) as a random example:
that during your development there were a variety of factors that may have left you without a strong sense of personal boundaries, perhaps with a deeply seated uncertainty about what those you love think of your value, and a feeling of helplessness in certain circumstances - with or without any sexual abuse.
These factors could lead you to seek out the familiar - helplessness and crossed boundaries, along with a sense of not having value (you don't hurt what you value, after all,) - while simultaneously attempting to seek what you desperately wanted and needed as a child.
So, attempting to reframe your past sense of nonconsensual helplessness positively via a consensual giving up of power. Attempting to find certainty in one's value by being treated like a pet or child who belongs to the other person utterly (essentially that's the domination/submission dynamic.) And crossed boundaries turned into an erasure and denial of the need for them.
This isn't always actively harmful to people. Trauma bonding however, as mentioned by Womb in the thread that inspired this one, turns this already questionable-to-harmful coping mechanism, into something extremely toxic.
Obviously there can well be other factors at play, but in my experience, everyone who hasn't recoiled angrily at the 'accusation' that their sexual life could be shaped by their past traumas, has related that their developmental years have indeed contained factors that probably contributed to and shaped their BDSM based desires now.
Sorry for the long screed! 