Friction depends on the nature of surfaces.
The friction force depends on two factors:
a) The materials that are in contact. The two materials and the nature of their surfaces. Rougher surfaces have higher coefficient of frictions but to slide apart. This makes sense in terms of a model in which friction is described as arising from chemical bonds between the atoms of the two surfaces at their points of contact. Very flat surfaces allow more atoms to come in contact.
b) The force pushing the two surfaces together. Pushing the surfaces together causes the more of the asperities to come together and increases the surface area in contact with each other.