The standard electrode potential of iron (Fe) is -0.44V and silver (Ag) is 0.80V. So, iron is more active metal which displaces silver from its solution, which gets deposited on iron rod so, iron rod becomes silverish when it is dipped in silver nitrate solution.
Fe + 2 AgNO3 → Fe(NO3)2 + 2Ag