Maybe other students would like some snacks?
Didn’t he buy them for his friend Ron Weasley who was hungry and had only a half-eaten sandwich to eat?
Yes, but magic makes it fine. I’m confident the train couldn’t run out of snacks, though Potter was generally an entitled jerk. Kid’s first antihero..