I had this recently with a 3 month old, @Alaska Satin should be able to help
What I did was give them plenty of hay daily, only offered him hay and his pellets (what I think caused it was a lot strawberry tops he wasn't used to), and made sure I saw him eating whenever I went down to them