When someone is confronted with something as powerful as imminent mortality, it pervades all your decisions.
Both explanations can be true.