It is Illegal for Restaurants to give away Free Food, I bet it is also Illegal for Stores to do the same.
I believe that only counts with prepared food. Last week I walked into my local Kroger’s and there was a huge display of single serving bags of Doritos in their atrium, free to anyone with no limit apparently.
I saw kids running out with armfuls and they just kept stocking the shelves.