What you are seeing is perfectly normal, a 'floating input pin' either digital or analog is just reading noise and giving readings that are not valid. Adding a wire just increases the noise level and therefore increases the variations in readings. The results of reading a digital or analog input pin is only valid if there is a 'valid' electrical signal wired to the pin. And 'valid' has several requirements.
Lefty