Can firms profit from charity?

Why do firms give to charity around Christmas? In this video, Adriaan Soetevent explains how, given a high enough price, firms benefit from this arrangement. This video was recorded during the European Economic Association's Congress held in Geneva at the end of August 2016.