Because there is so little of it that not even current space faring tech has considered it a good alternative to bringing water along for e. g. a trip to Mars. Space is mostly a vacuum, and in fact a better vacuum than anything we can create on Earth!. Don't trust all those science articles that tell of the vast amounts of hydrogen that can be found in space. Yes, these vast amounts are there - but they are spread over such huge distances that it's not worth collecting!
To give you some numbers:
- The most common particle in the universe (>90%) are atomic hydrogen iones, not H2. There is on average 1 hydrogen atom per cm^3, with a range of 0.1 to 1000. See e. g
https://hypertextbook.com/facts/2000/DaWeiCai.shtml .
- There are 2 hydrogen atoms in a water molecule. And one oxygen molecule that is much heavier, but let's disregard that for the moment. Anyway, there's virtually no oxygen in space, so you have to bring it from a planet.
- One gram of water consists of 3,455,000,000,000,000,000,000 water molecules (see
https://www.live-counter.com/water-drops-atoms/ )
Ignoring the oxygen atoms, we need 6,910,000,000,000,000,000,000 Hydrogen atoms for 1 gram or 1 cm^3 of water, so you'd need to scoop 6,910,000,000,000,000,000,000 cm^3 of space, or 6,910,000 km^3. Even if you're near the galactic core with 1000 hydrogen atoms per cm^3, you'd need to scoop up all hydrogen atoms from 6910 km^3 of space for 1 gram of hydrogen. Alternatively you can bring up 1g of hydrogen from a planetary gravity well. What do you think takes more energy?