Disagreements with S/O

My S/O and I were making the bed last night & had a disagreement about the dog. (Stupid. I know)
She kept jumping on the bed when we were putting the sheets on. I tell the dog to get down & she crawls over to him and begs.  He would stop and baby talk to her and scratch her ears, make her get down. And up she would go. I got irritated & told him he was reinforcing bad behavior. Afterwards we get in bed. He turns away from me & goes to bed. No good night or kiss. Totally hurts my feelings. I know I should have tried to resolve it at that moment. I acknowledge thT. I didn't didn't know what to say. I wanted him to talk to me without me starting the talk. Anyways I brought up how it made me feel this morning and his response is :
"you had tude & I didn't feel like dealing with it". 
I told him I wish he would have talked to me instead of turning away. But now he feels attacked & that I am making him the villain. 
Any advice on how to handle these situations?