Sometimes our heart is not at peace. We are nervous. We are anxious. We are not getting that something from someone else. In this process, we block ourselves from all other issues. People who need us, people who are trying to connect with us, people who love us - we start ignoring the needs of others. We start hurting them. Because we are disturbed in our own dissatisfaction. The best way to tackle this is to satisfy others, then our own dissatisfaction may get resolved. Be there for people who need you, them karma will pay back. Your needs will be fulfilled.
Don't ignore someone because you are preoccupied with someone else.