I got hurt from what he said

N

Now I am visiting my bf. He is not affectionate at all. When I try to hug him, he would say “get off me” not really in a serious way but he just doesn’t like it that much. Recently, I tried to hug him and he said the same thing but also said that I should do something with my life. He said he want me to go home so that I could do stuff. He usually concerns that I will feel restricted when I am with him cause he likes to just stay home. I understand why he said that but it sounded harsh to me. I cried a lot because of that. What do you guy think?