Trap states can form due to various reasons, including surface defects, structural imperfections, and the presence of foreign atoms within the material. High surface-to-volume ratios in nanomaterials exacerbate the formation of these states. Chemical synthesis methods and processing techniques also play crucial roles in determining the density and distribution of these trap states.