jokes. random shared interests. and all of a sudden, its done.
Though, this is coming from someone whose not had many actually close friend either.
OK i'm really bad at explaining but here's my thoughts, if they're worth anything.
Think of it as something that just happens. They make a joke...