By using a stronger reducing agent, the oxides of metals gets reduced by the process called chemical reduction. Alkaline earth metals and alkali metals are strong among the reducing agents. No stronger reducing agent is available than them. Therefore alkaline earth metals and alkali cannot be obtained by chemical reduction of their oxides.