The SO's Mood Swings

My SO tends to have pretty severe mood swings. One moment, he is all lovey-dovey and crazy passionate about me; the next, he gets irritable over the smallest thing and projects his irritation -- whether or not I am the cause -- on me. As great as the happy moments are, and as much as I am willing to put up with his moods because I love him, his irritation spells have gotten a lot worse and a lot more frequent. How do I manage?