Basketball's best offer is company. The game supplies something friendship often lacks: a reason to gather that does not require anyone to announce they are lonely, struggling, or simply tired of eating dinner alone. Attendance does the talking. You can arrive intending only to shoot around and leave having made plans to see someone again.
Repetition beats the highlight reel. A pickup game has a built-in invitation to return, while its ordinary arrangements create openings for contact: finding another player, sharing a ride, checking whether the court is available. Small favors become familiar. If you usually come and then disappear, your absence can become noticeable without your having to explain in advance that you need attention. That is an opportunity, not a guarantee. A group can ask where you went, or it can replace you and carry on; the sport itself cannot make that choice.
Showing up takes more. Companionship depends on what you do with those repeated meetings, especially when someone cannot play well, cannot stay long, or cannot offer much beyond their presence. Keep the invitation open. That might mean making room for a beginner, sending a message after an absence, or staying to listen when the game has already ended and there is no sporting reason to remain. The scoreboard cannot record this. But if you remember who passed you the ball and forget who waited with you afterward, are you sure you counted the right thing?