Guys - what does it mean when a guy randomly texts you before he goes to sleep to say good night?

when a guy randomly texts you before he goes to sleep to say good night?(Not when you already were texting) Does this mean he thinks about me before he goes to sleep? Do you guys do this to only girls you think of that way?
Guys - what does it mean when a guy randomly texts you before he goes to sleep to say good night?
Post Opinion