Because of residual insecurities or associations that they're making — sometimes subconsciously — people often think about their Ex for months or even years after the relationship has ended.
When your ex has moved on before you, this is always the case.