"<span>The genes for melanin pigmentation remain turned on and prepare more melanin than usual to protect the skin from photo-damage when it is exposed to sunlight for long time" is the actual reason. </span>
Ionic compounds are formed from strong electrostatic interactions between ions, which result in higher melting points and electrical conductivity compared to covalent compounds. Covalent compounds have bonds where electrons are shared between atoms.