Why did my ex boyfriend say hi to me?

Okay so I haven't talked to my ex boyfriend in exactly a year since I broke up with him...and I was walking with my best friend and we walked by him and I was minding my own business when out of the blue he said " Hi Jessie!" I said hi back but then after I was like WTF!? why is he all of a sudden saying hi...idk could this mean something that I don't want :S
Why did my ex boyfriend say hi to me?
Post Opinion