What does it mean when he ignores you on purpose?

This guy I used to really be into and he into me decided he wanted to ignore me the day I saw him last. I saw him a month ago because of the way he acted last time. When I saw him I was texting and he said hi to my mom but I walked past him because I was really into my texting. Anyways for the rest of the night he ignored me and was looking at the corner of his eye and kinda laughing because he saw that I was like wtf is wrong with him. He comes over and says hello all nice to my mother and says hi in a whatever way to me and then says he'll be back and doesn't come back. He is so f*** petty but I just would like to know what the big deal was I was going to say hey when he walked back around but he was acting like a seven year old. This isn't the first time he always purposely ignores me especially when I talk to other guys he'll glare at me and the guy and keep walking past the area and the funny thing is he won't ask me out. What is his deal?
What does it mean when he ignores you on purpose?
Post Opinion