Friends?

The Koala Sage

How do people become friends with random strangers? Like if you go to a grocery store all the time and somehow end up being friends with the manager or something. What happens in between that to end up being friends? I never understood how people made friends with strangers like that. I only ever made friends with people at school or work.