It was halloween, a lot of the times people go out that night but still want to have some candy for the kids available, so they'll leave out a bucket of candy for them. It's general knowledge to only take one, sometimes people leave signs on it "Feel free to take one or two", as you can see a paper attached to this one, but, well, hams being hams.