Chronic insomnia caused by stress can lead to persistent sleep deficits, which in turn impair the brain's ability to consolidate and recall memories, leading to long-term memory issues as you age.