Anger: your thoughts ARE about the A, and the A is living rent-free in your head; you want to resolve things or vent so you feel the need to communicate with or see the A.
Lonely: you are alone, longing, and you miss all the good parts of the relationship so your thoughts turn to the A, and the tenant just got another month of free rent.
Tired: your defenses are down and you are not strong at the moment so the one you turned to for comfort, the one that's "out," the A, just got an overnight or extended stay pass.