Explanation:
Entropy of a reaction ΔS∘rxn is the degree of disoderliness in a system. Gases generally have a higher degree of disorder compared to liquids. Hence for the reaction 2H2(g)+O2(g) ⟶ 2H2O(l), the entropy decreases sice the reactants are in the gaseous state and the products is in the liquid state of matter