Not all phenotypic variation is heritable.
Caterpillars of the moth Nemoria arizonaria exhibit different phenotypes based on their diet.
Caterpillars that feed on oak flowers resemble flowers.
Those that fed on oak leaves resemble twigs.