It can be many things. Sometimes we are jealous, sometimes we miss a past relationship, sometimes it's brain chemicals, sometimes it's just a spark of randomness.
It all depends on the situation. In yours I would say either jealousy or seeing some quality in him that you remember from someone else you may have dated.



