Not in the mood.. then why?

Question for my guys.. if you are in a bad mood (not from you) or are really stressed, why would you text a girl you like but not really answer her back when she's texting back but give her short answers? So my situation is there is this guy I talk to we like each other, but yesterday he msgd me as he normally does in the morning with his 'gm beautiful' text.. i reply with my normal 'gm handsome'.. just for him to not really reply to me or as much or just reacts to the msgs I'm sending (ex. Heart, laugh) and evey now and then say a few wrds.. I asked what was up he said he was irritated and so stressed and tired of things going on in his life... so I tried giving him motivation, encouragement, sympathy, empathy telling him how amazing and strong i see him, and how I really care about him and his mental health.. I mean I wasn't over doing it or anything and I really did mean everything I was saying, but just for him to basically ignore me and my efforts... my question is why even reach out to me if thats how he was going to be? Why would abguy do this?
Not in the mood.. then why?
Post Opinion