moodiness (n.)

Old English modignes "pride, passion, anger;" see moody + -ness. Meaning "condition of being moody" is from 1858.