I feel bad for both of you. I'm sure he hated to ask you to prepare something for him to take, knowing you wouldn't be present. At the same time, he shouldn't have asked another person to make something for him either. Now that would send me over the moon. It's a bad situation for both of you. He needs to understand that he made it all worse for you, by his handling it the way he did. Unfortunately, I don't think this is a win win situation.
I'm sure he really had no intentions of hurting you although he did.