I dont know of any store that likes to throw away produce that it paid for. They're probably required by law to throw food out after a certain period, or for other reasons.
Not so.
I own a grocery store. It's not required by law to throw it away. It's all in the litigation. My insurance company would have a fit if they found out I was giving away out of date product.
I had a customer threaten to sue me for "getting sick" (wink, wink) on a container of yogurt that was one day out of date. I told her to stick it in her ear because I had the rest of the case and would be more than happy to have it tested. She left.
As it is, I divide all my out of date product among my employees. Being an independent, I can do that. The staff appreciates it, believe me.