It's called the sin nature. When fed with little bits of self-indulgence here and there, it can balloon into a monster.
I think it's called "original sin." I'm not a very religious person, but that's about the best explanation I've heard for why people do bad things -- we're all flawed from the get-go.