Here's why:
* NH₄⁺ represents the ammonium ion, a positively charged ion.
* NO₂⁻ represents the nitrite ion, a negatively charged ion.
To form a neutral compound, the charges of the ions must balance. Therefore, one ammonium ion (with a +1 charge) combines with one nitrite ion (with a -1 charge).