Elasticity depends on temperature.
Also, elasticity changes due to impurities because they increase binding of crystal grains., hence enhancing elasticity.
Hammering also changes the structure of material as crystal grains break up into smaller units which plays a large role in determining elasticity (increases elasticity). Also, annealing tends to form a uniform orientation of crystal grains, hence producing larger crystal and changing elasticity.