We have some half-reactions:
NO3(aq)- + 2H+aq + e <--> NO2(g) + H2O(l)
NO3(aq)- + 10H+aq + 8e <--> NH4(aq)+ + 3H2O(l)
According to the reactions, we can guess that, with HNO3 in compact concentration there will be NH3 and with HNO3 in weak concentration there will be NO2 but the truth is not, why