You are watching natural selection happen in real time. The beetle population starts with two coat colors — this is called variation. Beetles that blend into their environment are harder for predators to spot, so they survive longer, reproduce more, and pass their heritable trait (coat color) to offspring. Over many generations, the population shifts toward whichever color helps survival. This is adaptation through natural selection.