What causes covalent bonds to form? Use HCl hydrochloric acid) as an example to explain completely the formation of the covalent bonds.