Probably for the same reasons it happens during the day? Eyes and thoughts have minds of their own? ;}
why do you care?
I don't really get horny at night unless talking with a girl I know.
For me it's when I first wake up in the morning. That's all I'm going to say about that.