Friends can share similar brain waves, genetics, and personality traits — here’s why it happens