Why do woodpeckers peck metal?

They also "drum," or peck in a rapid rhythmic succession to establish their territory and attract mates. Drumming usually occurs in the spring on metal or wood resonant surfaces.