I have never heard of a food bank in Ontario offering food with passed expiration dates. I previously volunteered there and most of the food was from grocery stores/corporate donors, but not expired.
https://www.usda.gov/media/blog/2020/08/13/good-samaritan-ac...
My guess is the strictness of the rules is driven by availability of resources and the level of need being met by the organization.