Or just ordered extra on her own order and giving it to him after. Them knowing she was buying it for him was the issue.
I have a feeling there were antisoliciting codes in effect and this guy was a persistent soliciting problem.
More than likely the law was called on him for solicitation more so than on her for trying to help him.
In this specific case, it does kind of seem that way to me.
I sympathize with anyone trying to run a business with homeless people camping out on the sidewalk in front of them, sometimes literally so, resulting in people avoiding the entire area altogether.
I have seen where this dynamic simply causes longstanding businesses to close up at that address.