What is the reason for the decrease in conductivity with increasing temperature in metals and the increase in conductivity with increasing temperature in nonmetals?
2.1. In metals, the electrical conductivity decreases with increasing temperature due to increased scattering of conduction electrons by phonons - collective vibrations of atoms in the crystal lattice. In amorphous metals, any options are possible, but the temperature dependence is weak.
2.2. In semiconductors, the electrical conductivity increases with increasing temperature due to an increase in the number of conduction electrons and/or in their mobility. In semiconductors and dielectrics, the ionic conductivity is very small, and at high temperatures also increases with increasing temperature due to increased ion mobility.