While technically they are probably correct to charge, I've actually never seen an FA ask for payment for a snack box from Y... especially when its because they are out of a meal choice.
Always seen FAs either provide the requested box when the F pax didn't want the meal choice, or proactively offer it as an alternative.