If elements like oxygen and hydrogen can be found in lunar ice
If hydrogen and oxygen *can't* be found in ice, no matter where it is, I'd be a little suspicious of either (a) the initial identification of the 'ice' as ice, or (b) the ability of the analyst.
(yes, I know it doesn't actually specify 'water ice' but that is the normative form of the word...)