OK, chemistry 101 again.
Hydrogen chloride is a gas which is acidic if moisture is present. When it is dissolved into water it becomes hydrochloric acid, the same stuff that is in your stomach. Impure hydrochloric acid is referred to as muriatic acid. The sharp odor is hydrogen chloride.
Any acid reacts with active metals (think iron, zinc etc) to produce hydrogen. That is not much of an issue in this discussion. Strong acids such as hydrochloric react faster than weaker acids such as citric or vinegar.
Mixing an acid and a base, in this discussion hydrochloric acid and ammonia, produces a salt - ammonium chloride.
Now getting a bit more complicated, 'bleach' like the large jugs from the supermarket (Clorox etc.), is actually a 5% salt solution. NaOCl from NaOH + HOCl. The bleach you buy is about 5% NaOCl and the solution itself has a complex chemistry which exists in the following equilibrium which cannot write correctly without access to super and subscript numbers. NaOCl + H2O <=> NaOH + HOCl <=> Na+ OH- Cl- + O. That last 'O' is called nascent oxygen and most chemists believe this is the active bleaching agent.
When you mix bleach with ammonia, you form one or more of the chemicals we call chloramines. These are all toxic, but are also produced deliberately in small amounts to purify drinking water whose source is surface water, i.e. reservoirs, rivers and ponds. See the following from a more in-depth discussion, but there is some misinformation in there re hydrazine formation.
http://chemistry.about.com/od/toxicchemicals/a/Mixing-Bleach-And-Ammonia.htm
Bobk