You connected it to a Mac,
the Mac asked if you wanted to use that drive as a Time Machine Backup device,
You said Yes,
The Mac told you that it was going to format the drive,
you said OK
The Mac formatted the drive as Mac OS X Extended(Journaled) and killed all the data on the drive.