It's just PR bro. Trying to save face after the fact.
That 1 million (from each) will be tax deductible and not cost either of them anything (as long as they both earn at least a million this year, which they will).
It's also only a limited number of charities that are official enough to take such a sum, meaning the money will get shunted through approved US channels (so that it stays out of the hands of "Hamas" or whatever the US and Israel see as Hamas today).