@mentallyalex Did they only bake pies once a week? Because the business cynic in me expects that that's a good way to get rid of excess stock that would otherwise be expiring soon.
That said, it's not a bad practice. Many Panera Bread Co locations donate leftover bakery items to local homeless shelters for similar reasons (or at least they did years ago when I worked there).
No reason to waste good food when people are hungry. 🤷♂️