It can be a temporary thing, or result from trauma. It is an evolutive advantage for a population for it's people to have empathy. On an individual level, it has a cost so when an individual is in survival mode, they will let go of empathy.
Artificial scarcity and intentionally putting oneself in scarcity situation (ex: putting all your economies towards starting a business) makes it more likely one will lose their capacity for empathy.