Oxidation number of elements in their compounds or ions is obtained using some rules.
E.g., Hydrogen is assigned oxidation number of +1 in general and -1 for metal hydrides.
Hence, both Assertion and Reason are true and Reason is the correct explanation for Assertion.