The mere-exposure effect
Psychologists call it the mere-exposure effect: the more often we encounter someone, the more we tend to like them. This is why a regular at your weekly class can grow on you with no effort, while a stranger you swipe past once never gets that chance.