How did my contacts get transferred?

Some of my contacts on my last device now appear on my new iPhone and I didn't transfer them. I have signed in my email and Facebook and Twitter on my new device. Will that do it? It's actually kind of creeping me out!

Yes signing in facebook would have done it