Most Helpful Guy
Your views on affection are probably different than his own so it's a possibility for that happen.
Although! He should've said something earlier and he should've gave you the chance to change if you've wanted to. You should've known his demands.
Most Helpful Girl
More and likely he wanted sex, and since he saw it wasn't going there he left. Don't worry about it. You cooking for him and such IS being affectionate. He just doesn't do romance, he does girls. Sorry, not trying to be perverse, here, but truth is truth. He finds you boring.