Kids, just so you're sure, this is a shitpost and you are NOT responsible for your parents' divorce.
The only reason they increasingly shouted at you in the run up to the divorce was that their marriage was falling apart and divorce is one of the most stressful things that ever happens to people.
Having kids can be stressful, but if you don't play a largely united front and instead allow the kids to play manipulative games against your partner, you don't communicate, you take sides and turn on each other, then it's because one or both of you is snide and used the kids to undermine the other person and the relationship.
It's still not the kid's fault if they were brought up to tolerate and play emotional games against family members. Kids start off life completely self absorbed and have to be taught to be kind, share, think about other people's feelings and prioritise relationships over things. No toddler knows this. All functioning adults do.