. "An underlying medical or psychological condition, such as depression or sleep apnea, often causes secondary insomnia." . . .