He was the CEO, so it was much more than coding. For a regular software engineer (ie, no direct reports) I think it’s a very different calculus.
And it _is_ up to him to decide how to spend his money. But if he spends that money on things that deeply impact other people, it is more than fair for other people to care.
To your point, I guess it really depends on how you define his set of responsibilities, which is a valid point to make. I thought of something very limited ( writing lines of code ).
From that perspective.. why does it matter who he donates to and why. Is it not up to him to decide?