There is heredity. The surviving brown beetles have brown baby beetles because this trait has a genetic basis.
Image use policy: For non-commercial, educational purposes, this image may be used with a Creative Commons CC BY-NC-SA 4.0 license. Please credit as follows: © University of California Museum of Paleontology, Understanding Evolution, www.understandingevolution.org
This image is part of a series: