protein molecules have a hydrophobic core, which is not accessible to solvent and a polar surface in contact with the environment (although membrane proteins follow a different pattern). While hydrophobic amino acid residues build up the core, polar and charged amino acids preferentially cover the surface of the molecule and are in contact with solvent due to their ability to form hydrogen bonds (by donating or accepting a proton from an electronegative atom).