The corn syrup is mostly sugar. It has a lower concentration of water. A small amount of water moved into the egg because the distilled water had a slightly lower concentration of solute molecules than inside the egg. The size of the egg changed to small, due to corn syrup being hypotonic.