The strength of covalent bonds is primarily due to the electrostatic attraction between the shared electrons and the nuclei of the bonded atoms. Therefore, the correct explanation is:
\(\boxed{\text{The atoms are electrostatically attracted to each other}}\)