Covalent bonding occurs between non-metals. Since both hydrogen and oxygen are non-metals, a covalent bond is formed between them. This is suggested by the formula of water - H2O. This shows that two hydrogen atoms and one oxygen atom share electrons with each other to become stable.