Confinement effects arise primarily due to the reduction in size of the material. This size reduction leads to quantum confinement, where the motion of electrons is restricted to discrete energy levels. Additionally, surface effects become more pronounced because of the high surface-to-volume ratio at the nanoscale.