How much of an impact does your partners mood make on the way they treat you?

Some days I'm his Queen and he talks me up, tells me I'm an inspiration and the best etc etc for all I do for our family

Other days he's snappy as hell and I don't even know what I did wrong.