I need relationship help

My boyfriend and I have been together for a year and everything's been decent. We fight occasionally and what not but other than that we care about each other. Recently he's been giving me attitude and when I try to cuddle with him he tells me to stop or he moves me from him. I love him and I don't know what to do. Please help.