If the temperature of a thermistor increases or the light intensity around an LDR increases, the charge carriers gain energy and become free, so the number density increases. This means that current increases, so resistance decrease. These components have a negative temperature coefficient.