Try to be a good conversationalist. Look up online for tips. Also, since people enjoy speaking about themselves, keep the conversation about that person’s interest; allow them to speak while you appear very inerested, asking questions on the topic; and keep a positive tone.
This might not be the issue, but it might be and it won’t hurt. There might be different things at play, so it pays to see someone about it. Sometimes when you hangs around each other too much it gets boring, and perhaps even a nusance. It might be due to being pre-occupied, which can be remedied.