Almost anytime you hear a celebrity or rich person announce a charitable donation, it is on the recommendation of their tax accountants/money managers.
A celebrity might have a favorite charity that is important to them (as anyone could) but the amount they donate, and when they do it, is totally financially motivated.