It's human nature.
I'm not condoning it at all, as we've reached a point that we SHOULD be able to control ourselves, but some people for whatever reason can't, maybe the way their brain is wired makes them act more on instinct than reason.
That being said, they should spend life behind bars.