boyfriend problems

my boyfriend has been going through this thing. he seems unhappy and tired. We barley see each other now. It's like he's pushing me away. Last night he sent a text saying he was feeling down and alone. Which really threw me off due to the fact I've there for him for 5years? I'm not sure what to do.