Bonds formed between atoms can be classified as ionic and covalent
Ionic bonds are formed between atoms that have a high difference in the electronegativity values.
In contrast, bonds formed between atoms that have a difference in electronegativity lower than the ionic counterparts are polar covalent bonds. If the atoms have very similar electronegativities, they form non-polar covalent bonds.
In H2S, the S atom is bonded to 2 H atoms. The electronegativity of H = 2.2 and S= 2.56. Since the difference is not high the bond formed will be covalent (polar covalent).
One is tension force that acts on the string and the other one is gravitational force that is acting on the pen and is therefore, the one that pulls the pen towards the ground. Therefore, the pen's motion is caused by the unbalanced force acting on the pen.