Evil and bad people usually have actual reasons for why they are doing bad things. They aren’t doing bad things just to do them — there is usually something bad that happened in their past, etc
Not all reasons are learned externally. It's possible for someone to have a craving that cannot be satisfied, just as it is possible for someone to not be capable of understanding the feelings of another person.