Mood swings develop if you don't have restful sleep. It leads to a lack of energy, increased irritability and short temper. During the night hormones are secreted to maintain our body's necessary functions. If sleep is interrupted it can hinder the process and alter our mental function. Growth Hormone and Cortisol are just a few of the important hormones effected by obstructed sleep.