Well, the opposite is true as well. If you are in a bad mood and surrounded by kindness, you'll find yourself being kind.
When your spouse has a bad day and comes home and is short-tempered, or sour-faced, or quick to judge, return kindness.
Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets.
This doesn't say do as they have done, but do as you would want them to do to you.
Everyone enjoys being on the receiving end of love, sweetness, and kindness. Show your spouse some kindness the next time he is cranky.