In my area it is a school policy that a kid would not be denied food even if they had no money in their account - and every place I lived had organizations that would eagerly step up to address such a problem if and when it manifested.
For what it is worth, during COVID and a few years after, in my state every kid got free lunch in school regardless of their income.