Chlorine reacts with hydrogen in sunlight to form hydrogen chloride. Iodine reacts with hydrogen only when heated strongly, and the reaction is reversible.
Compare the reactions of chlorine and iodine with hydrogen, and explain the difference in reactivity in terms of the oxidising ability of the elements. Suggest why the hydrogen iodide formed is less thermally stable than hydrogen chloride.