I did this for a while and know why. Complete darkness increases cortisol. A red light or a glass of milk with some sugar before bed will help keep that from hurting your sleep.
Discussion
That makes sense. Could maybe get the same effect from just a regular dimmed light