Hydrogen is having one electron. To complete its duplet, it should gain one electron. Then it should become Hydride(H- )ion. But how can it loose one electron to form Hydeogen (H+) ion ? Why does it do so as it is gaining no stability ?
Hydrogen atom can gain as well as lose an Electron. It has only one electron in its 1s orbital. One s orbital can have maximum 2 electron. So by gaining a electron it can attain noble gas configuration.
It can also lose electron to form H+ ion ,which is also stable.
Generally losing or gaining electron depends electronegativity of the combining atoms.If the other atom has more electronegativity than H atom then Hydrogen atom will form H+ ion .eg -HCL,HF,H2O etc
If H atom has more electronegativity than the other atom ,then it will form anion H-ve . eg NaH,LiH etc
However in solution,H+ve ion is more stable than Hydride ion(H-ve).
Also
It prefers to lose an electron because of it’s small size. Even though gaining an electron makes the electronic configuration stable, the small nucleus of Hydrogen cannot hold two electrons.