All I know is that one is covalent while the other is ionic, and that having hydrogen in the mix will automatically make it covalent since it will distinguish if it’s polar on non-polar. Also, I read something about certain elements and/or compounds being naturally covalent/ionic, the thing is, how do you know? Feel free to correct anything I’ve said wrong, and please, help me :( Thanks!