Currently, hydrogen production requires more energy to produce the equivalent amount of hydrogen.
Which is why it should not be produced on a fossil fuel based grid, but is perfect for stored portable energy on renewable grids. For example, converting excess wind and solar power to hydrogen fuel.
It sounds like Estonia is on the right track, and intending to leverage their access to water and other renewables to generate "green" hydrogen. This sounds great, I hope they can pull it off.