I can't really say, because I don't know the guy or why he might be acting that way.
Sure, it could mean that he has lost interest in you, but it could also be situational. Is he going through a difficult time right now and projecting his anger and stress on to you? Is he having family, work, money, or health problems? That could be the real reason he's acting like a jerk; it could have nothing to do with you, except that you are bearing the brunt of his bad moods.
Why don't you just ask him? "You haven't been very nice or considerate over the last few months. Are you losing interest in me or is something else bothering you?" How he answers will tell you if the problem is fixable or not. If you've already asked and he can't give you a satisfactory answer, then yes, he's probably over you, and you should move on. The only way to know for sure is to open a dialogue with him about it and force him to tell you what's really going on.
Thanks for the question.
I was having the same problem with my boyfriend for awhile and was way too scared to say anything. When I finally got the guts to talk to him, turns out he was just stressed. I explained to him how I was feeling and ever since things have been a million times better. Just tell him how you feel. Don't let him interrupt you or take control of the conversation, just get out what you need to, then listen to his side. Communication works wonders. And great advice, WA. Good luck :)