When dipped in conc. `HNO_3`, metals like iron, chromium, nickel, aluminium, base become passive. This is due to
A. reduction of metals
B. formation of corresponding nitrates
C. evolution of nitrogen dioxide
D. formation of layer of metal oxide on the surface of metal