It takes a lot of electrical energy to split the hydrogen atom from the oxygen atom in water to get just hydrogen. Hydrogen is mostly made through solar powered sources, but there's still opportunity cost. That power could be used elsewhere! Like my air conditioner!