Boyfriend trouble

Elise
Me and my boyfriend have been together for nearly 4 years. He makes me the happiest girl in the world but for some reason lately he's just not being very nice to me and making horrible comments. It makes me so moody when he does it! I try's talking to him about it and he says 'well if u wasn't so moody all the time then I would be happy and wouldn't be horrible' but the only reason I'm moody is because he's horrible and I don't know how to get out of this stupid cycle. Someone help please!!