An egg shell has thousands of tiny pores over the surface that can absorb flavors and odors.  That is why it is a good idea to store eggs in their carton to keep them fresh.