It was most likely an iCloud backup, which can start when you are either connected to WiFi or 3G/4G depending on what setting you have.
The other alternative is that you've setup iTunes WiFi sync - Sync your iPhone, iPad, or iPod touch with iTunes using Wi-Fi - Apple Support.