Because according to the third law of thermodynamics perfect crystals exists at 0K. As the temperature increases the chance that a lattice may be unoccupied by an ion increases. As the number of defects increases with temperature, the defects are called thermodynamics defect.