Sometimes getting a divorce causes pain for the children