since its not connected, your wire is basically an antenna, your laptop as a power source, insulated by some glass (the table), and your arduino as a output (lower resistance to ground) all acts a a capacitor
And your antenna is right in the middle of all this, when you walk by you disturb the field which changes the already floating analog input
if you want a more refined example of the side effect you created check out ...