Mechanisms of surface cracking in wearing courses