Happy, i found out about the food issue! so, here it is.
The giving of the food is only a gesture, to show generosity and adoration towards the particular god it is given to. This is done in India, Thailand ,china etc.
Everybody is aware that this food is not eaten by the god (s).

The food , usually only small tokens, are replacd on a daily basis, or when spoiled.

Nice thing to do, very thoughtful, i think.