Presumably he is playing because he still loves tennis, enjoys tennis, and wants the challenge of playing against the top players. He probably thinks he can still get better as his health improves (whether that's realistic or not, who knows).