Zn gives H2 gas with H2SO4 and HCl but not with concentrated HNO3 because
NO−3 is reduced in preference to Hydronium ion.
In electrochemical series, Zn is above hydrogen
HNO3 is weaker acid than H2SO4 and HCl
Zn acts as an oxidizing agent when reacts with HNO3.
HNO3, being a strong oxidizing agent, forms NO2 and NO instead of releasing H2 gas. Further H+ ions are oxidized to water.