first of all an immoral outlook - there are no scruples, nothing is taboo. Couple with with a failure to recognize others as human beings, merely props. Add some moral philosophical absurdities: "life is merely a dream, do you even exist, or is all this an illusion" crapola, and you have the recipie for this sort of behavior.
Yes, those are certainly contributing factors.