When the S&P 500 benchmark stock index falls, as happened in 2008 and 2018, charitable donations usually decline but to a smaller degree.