In pure metals the atoms are all the same size , hence the layers of atoms can slider over each other. However, in an alloy the different size atoms distory the layers in the structure hence it is difficult for the layers to slide over each other and be shaped.