Bipolar disorder affects mood by causing episodes of mania and depression. These episodes can produce mood swings ranging from intense energy and irritability to feeling slow and down.