That seems to be an odd, and ironic flaw in the human mind. We often do to others what was done to us. Sexual abusers are often themselves past victims of sexual abuse.
It's not especially ironic. Two things: when people are left to their own devices, they tend to imitate the people around them. And, people tend to favor themselves to be a good "end result", which reflects favorably on the environment which shaped them. In fact, to oppose the circumstances you came from is to oppose some part of your own nature. So, people tend to favor recreating themselves (because they prefer themselves) by recreating the environment they came from.