The bond joining the two hydrogen atoms is a covalent bond.
In a covalent bond, atoms share pairs of electrons to achieve stability and a full outer shell of electrons. Hydrogen, which has one electron in its outer shell, can share its electron with another hydrogen atom to fill its shell, thus forming a covalent bond. This type of bond is fundamental in the formation of molecules, allowing for the stability and interaction of different elements.