Why do so many people break up after having a baby?

Obviously it’s a huge relationship change and test to have a baby together but why do so many relationships fail because of it?