Why did he ask me to a housewarming party?

I am a female.my next door neighbor is male.We have been friends for six months.I announced to him six months ago that I liked him.But nothing happened and we stayed friends.Now he invited me to a house warming party.We both moved into this new apt building,but not the same apt.So I went to the party,preparing my heart to stay cool because there might be someone there who he happens to be seeing.There was a couple,and three other ladies.One lady kept giving me evil looks.At one point after being there for two hours,I told him that I was leaving.He asked me why.I told him it was time for me to leave,getting tired.He said ok.Then he did something which shocked me.He held his arms out and gave a big bear HUG.The lady's face was green with envy. I also would like to say that he barely talked to her.He also shares his food with me whenever he cooks.Can somebody please give me clarity on this situation?
Updates
+1 y
We went on a date prior to this.Plus he has invited me to a picnic before.
Why did he ask me to a housewarming party?
Post Opinion