Fire is a chemical reaction in which certain substances combine chemically with oxygen.
The oxygen in water has already chemically combined with hydrogen and is not available for further reaction.
The hydrogen is not available for further reaction either.