They also have additional data sources to add to their algorithms when people allow their contacts to be read, and you are in their contacts. Or, if people search for you, odds are they know you. Some of the connections can seem spooky, but it is all data-driven.