Why do memories hurt so much after someone rejects or leaves you?

Moving on from the memories is infinitely difficult.
Moving on and enjoying life is not too easy but doable with time.
But the memories are too much.
Why do memories hurt so much after someone rejects or leaves you?
Post Opinion