Why would a guy talk to me then ignore?

A guy that I been talking to for a while I was upset the other day didn't talk too much about it he was there for me now he's ignoring me all of a sudden I dont get it
Why would a guy talk to me then ignore?
Post Opinion