Researchers who analyzed a decade of data detected a reduction in giving after millions of Americans stopped getting a tax break tied to charitable giving.