Mechanisms governing tribochemical reduction of metals and non-metals from their oxides