He wasn't just being touchy and trying to change the subject.
When someone is confronted with something as powerful as imminent mortality, it pervades all your decisions.
Both explanations can be true.