I think putting it in very general terms (and I'm not talking about this specific situation, but just as food for discussion): there are two kinds of people when it comes to doing favours. There are those who genuinely want to help and who will therefore make the favour useful to its recipient and make sure it is going to be so before they do it, and there are those who just want to be seen to be doing something nice and/or get the kudos/praise for doing people favours, without much thought to whether it'll actually be useful or not.
When doing a favour, it's probably a good idea to think about your motivation. In the case of food, to my mind, a favour in which one of the recipients of the favour specifically doesn't like what is to be received isn't really a favour - it's more of a burden. Because now he has to cook something separate for tea if he wants to eat too.
I used to ("used to" being the operative phrase here!) have a friend who would do the second type of favour rather than the first, because what she actually wanted was for everyone to pat her on the back and gush about what a good person she was for doing it. When that praise was not forthcoming (because the favours missed the mark, because she hadn't thought whether they'd be useful to the recipient, because all she was interested in was her praise), she took massive offence and threw her toys out of the pram. She was exhausting to be around, and I would rather she had never done me any favours at all than to have to deal with that.