Once read...I believe it was on this platform. One technique you could try is have a glass of water near you and immediately drink when u wake up , That can help u remember. But as to why it happens is a level of awareness, or alertness.When you are distruced or infiltrated you will struggle