Why does he randomly text me? Why do guys in general randomly text a girl?

Anonymous
There is this guy I met last semester in college and I thought he might have a crush on me, but I let it go because he never made a "bold" move. We had a class together during the fall. When fall finals were over, he texted me twice randomly over Christmas break. I texted him a general merry Christmas as well. I then texted him about a month later about notes he promised to give me. He gave them to me and we hadn't spoken since. He would often like my Facebook posts, but not talk to me. He randomly texted me last night after a one 1/2 months of not talking to me asking how my class was going. Why is he doing this? Why does he even care about how my class is going? We weren't close friends or anything. If we talk, it is him texting me out of the blue after months of not talking to me. Is asking about my class maybe just an excuse to talk to me? Why do guys randomly text girls? Thanks in advance for any help :)
Updates
+1 y
I need some answers :(
Why does he randomly text me? Why do guys in general randomly text a girl?
2 Opinion