Just because they said that doesn't mean they don't like you. Maybe they're feeling tired? Maybe they need some space? Maybe they really *do* need to study. Don't take it to heart.
If that happens to you .. then you need to find different people to hang around with.
No big deal .. not everyone is going to like you.
If they're not honest .. better to find out sooner than later. Not everyone is like that .. don't let it discourage you.