Due to shrinkage in material, tensile stress is induced when there is a restraint to movement due to expansion or compression. When the induced stress exceeds the strength, cracking occurs, thus relieving the stress.