The Ayurvedic textbooks discribe a connection between persistent bad mood and an excess of Kapha, along with an accumulation of Ama (metabolic waste).
According to Ayurvedic conception, the mind naturally functions in an inherently clear, calm, and collected manner.
Vata imbalance is the predominant reason for difficulty in falling asleep.