They were donations from the family that founded the chain. They have many more donations over the years. Just the tip of the iceberg here.
"In 2011, the same year a Pennsylvania Chick-fil-A franchise donated food to a local anti-gay organization, the LGBTQ advocacy group
Equality Matters obtained tax records which revealed that the Cathy family had donated more than $1.9 million to anti-gay groups in 2010 through the WinShape Foundation, the Cathy family’s charitable giving organization founded by Truett Cathy in 1984. Those donations included a $1.1 million gift to the Marriage & Family Foundation, a group that promoted so-called traditional marriage and opposed both gay marriage and divorce; $480,000 to the Fellowship of Christian Athletes, an athletic organization that requires applicants to agree to a “sexual purity statement” that condemns LGBTQ people for living “impure lifestyle
”; and $1,000 to Exodus International, a group that promotes anti-gay conversion therapy. "