Why and how do we choose friends?