When children are upset or can’t get what they want, they tend to have a general temper tantrum, it is all part of them growing up & testing boundaries.
Sadly when a couple breaks up, the children in the family will suffer too. Their family unit has been broken and they will have emotions attached to that, feeling upset, confused and even worried about the other parent. Family Counselling will help.