Metal reacts with acid to produce hydrogen gas. But when metal reacts with HNO3 hydrogen gas is not given out. Give a reason.