Thermodynamics is branch of science which deals with energy equllibrium and entropy
When the temperature is decreased, the reverse reaction (in this case, the decomposition of ammonia into nitrogen and hydrogen) is favored because it is an exothermic reaction. In response to the increased reverse reaction, the forward reaction (formation of ammonia from nitrogen and hydrogen) increases to re-establish equilibrium, ultimately leading to a higher yield of ammonia.