I've had this habit for years now.
I don't know why, but I can think and daydream easier if I'm lying down with my eyes shut. Sometimes, people have wondered what I am doing, and they always suspect that I'm sleepy, but I'm not.
Although, I usually get the best ideas
for stories when I'm trying to sleep.
Apologies for abusing copy-paste.