Double click on the eyedropper tool and you will see what options you have selected for the eyedropper tool to sample. When an object is selected and you sample from another object, all of the options selected will be changed - so you may get a drop shadow for example. That is how the eyedropper works.