If you maintain a feeling of compassion, loving kindness, then something automatically opens your inner door. Through that, you can communicate more easily with other people. And that feeling of warmth creates a kind of openness. You'll find that all human beings are just like you, so you'll be able to relate to them more easily. That gives you a spirit of friendship.
It is strange how much we resist the inherent peace and quiet that is always possible. Perhaps this is because resting in simple presence is so foreign to a lifelong habit of mental complication, and we may have confused complication with a sense of aliveness. We may assume that having no particular mental project would result in boredom. Or we may be overwhelmed by how vast and free life suddenly feels when our minds are not on the hunt.