Am not defending this law at all, but the thinking behind it is twofold:
you might be handing out tainted or expired food
the bigger issue: you are creating a "nuisance" on the property where you're doing it, as large groups of homeless people gather there. Some would say it's a safety concern, for example handing out free food at the corner of a primary school.
Again, I'm not agreeing with either point, but these are arguments I have heard from people who back such laws.
To the second point though, I've seen it firsthand. Salt Lake City tried to do a good thing by making the public library a homeless-friendly zone by handing out free food and allowing access to WiFi. This caused a large amount of homeless to hang out there all the time, and some of them would harass and attack non-homeless patrons of the library to the point that pretty much all of them stopped coming to the library entirely, and the area became a no-go zone.
The real issue is that a large amount of homeless people have severe mental illnesses (since public sanitariums all closed in the 70s). So where there are big congregations of homeless, there will inevitably be harassment and possible violence. Cities don't want people feeding the homeless at any old public building to avoid these situations, hence the laws, which allow you to do it only at certain places the city allows.
The real issue is that too many Americans have bought into the bootstrap theory and couldn't give a shit about their neighbours who don't have a place to live or food to eat.
Take care of those 2 things first and there won't be an issue of people hanging out where it's warm/cool and food is being supplied.
I witnessed a security guard taking a loaf of bread from a homeless kid all the while preaching the word of Christ. Christians are nothing like their Christ.
41 “Then he will say to those on his left, ‘Depart from me, you cursed, into the eternal fire prepared for the devil and his angels. 42 For I was hungry and you gave me no food, I was thirsty and you gave me no drink, 43 I was a stranger and you did not welcome me, naked and you did not clothe me, sick and in prison and you did not visit me.’ 44 Then they also will answer, saying, ‘Lord, when did we see you hungry or thirsty or a stranger or naked or sick or in prison, and did not minister to you?’ 45 Then he will answer them, saying, ‘Truly, I say to you, as you did not do it to one of the least of these, you did not do it to me.’ 46 And these will go away into eternal punishment, but the righteous into eternal life.”
Cops protect the rich. The rich are only rich because they’re psychopaths. Our economic system rewards psychopathy and punishes empathy. Eat. The. Rich
Also Texas. Tony Hinchcliffe told a story about getting kicked out of a Whataburger for being gay. His friend got arrested and held but not charged. This was 10 years ago, not 50. Texas sucks.
Here's my plug to ask y'all to join food not bombs. They serve vegan meals prepared under strict cleanliness methods to provide safe meals and various supplies like cleansing products, clothing, etc. Volunteer with your local branch!