Where this goes wrong
Picking the limiting reactant by mass. In N₂ + 3 H₂ → 2 NH₃, the smaller mass, 12.0 g of H₂ against 42.0 g of N₂, is the excess. Mass does not identify the limiting reactant; moles ÷ coefficient does.
Comparing raw moles. In 2 Mg + O₂ → 2 MgO, 0.50 mol O₂ is fewer moles than 0.80 mol Mg. But two Mg are consumed per O₂: 0.40 vs 0.50, so Mg limits and 0.80 mol MgO forms.
2 Al + Fe₂O₃ → Al₂O₃ + 2 Fe
given: 4.6 mol Al and 3.8 mol Fe₂O₃
Building product from the excess reactant. With 4.6 mol Al and 3.8 mol Fe₂O₃, the 3.8 mol suggests 3.8 mol Al₂O₃. The reaction stops at 2.3 mol, when Al runs out. Compute product from the limiting reactant only.
Applying the mole ratio to grams. Coefficients count moles, not grams. Convert each mass to moles before comparing.