The origin of Mooij correlations in disordered metals