Because fast food restaurants get a lot of foot traffic and they’re less likely to be aggressively thrown out. Another popular place to beg are subway stations, but that doesn’t mean they need a ticket.
Did anyone ask what the money was for? Did anyone offer to buy whatever it was they needed, even if a meal at a better place? Or was the interaction to simply offer fries (probably the least filling, cheapest, far from healthy choice that they likely have been offered dozens of times already) and then do nothing when they refused?