— Anatole France.
i.e. it's not about losing money due to free refiles but losing (or being afraid of losing) money due to people leaving due to the presence of homeless people.
A decision because of the first point (free refiles) is not moralistically questionable. A decision on the second point can be seen as moralically questionable due to discrimination against people which already are in a pretty bad situation.
Things are different now. I don't have any numbers for you, but the meth epidemic has left us with a whole traunch of society that has permanent brain damage if not permanent psychosis. I honestly don't know what we are going to do with these people, or how we are going to care for them.
I live in So Cal in a city with a large homeless population. I cannot take my daughter to McDonald's-- it's just not safe.
I personally have had homeless folks try to open my car doors at stop lights and in drive throughs. I've seen numerous fights break out. People standing on the street screaming at something. Aggressive and threatening begging-- including one guy who parked his wheelchair behind my car (I've seen him walking, it was a prop) and wouldn't move until I gave him $20 (I didn't).
I have every sympathy for the homeless. But the fact is my local McDonald's is probably missing out on a visit from my family a week not because its not safe.
We hear your point that it could have been a bit clearer, but you’re agreeing with the OP.
It's about keeping homeless and very poor people out of it.
It's the same kind of thing as park benches being designed to be unusable for sleeping on, empty unused rain areas below bridges being walled of or filled with spikes or vegetation in parks being removed and replaced with grass and similar to make it less pleasant to stay there over night.
I fear if they could they would use a combination of image recognition to ban people which look homeless from entering their shop at all.
Just to be clear this things are/would be normally mandated from the top, so the people operating the specific restaurants might not have any say in it.