A general definition of galling is this: when two metal surfaces are in intimate physical contact and move relative to one another, sticking or welding may occur between them resulting in surface roughening and increased wear rates. Since no surface is completely flat, roughness in the form of asperities often produce an interaction between the two mating surfaces, which in many cases results in very high localized stresses. For example, this is what happens at the thread contact area between the alloy steel fasteners that you asked about and the parts they are used in. These high localized stresses produce high frictional values. And welding followed by shearing can take place between the parts under the right circumstances. If the weld is weaker than either metal, then relatively little wear takes place. This is the case when a tin based alloy bearing wears against steel. If the junction is stronger than one of the metals, then shearing will take place in the weaker metal. If you have a contact area between steel and lead, for example, the lead will shear. If the junction is stronger than both metals, then tearing occurs in both metals and the wear rate increases rapidily. Lubricants do a good job in reducing galling because they reduce the fricional contact between the parts. And if the frictional forces are decreased, then the possibility of sticking or welding is decreased. I hope that this helps you.
Maui