Love is unconditional and 'knows' that our psychological pain comes but from our ego.
Attachment 'thinks' that our pain comes from other people.
Attachment dissolves when its object does not conform to what our ego wants.
The pain we feel then is created by our frustrated ego, which calls these people toxic, whereas it's our own ego who acts toxically.
This is called projection and precludes our development.