What causes a mother to murder her infant?

I cannot seem to wrap my head around it? Why? How can you live with yourself? You could've prevented it. You could've had an abortion. You could've given the father full custody. Adoption? The options are endless. 
You'd assume by the time the child is a few months old that the mother would have some sort of attachment to them.