Iris Strimling age 12 of Burbank, Calif for her question:
How did animals get camouflage?
Suppose a tribe of various colored frogs went to live in a sandy desert, Snakes and other animals would soon spot those whose colors stood out against the tan background, The bright green frogs would be caught and eaten before they had time to grow p and have children. The brown and tan frogs would have the best chance of surviving, They would be hardest to spot against the brown and tan d sect sand,
Childrens even frog childrens take after their parents, Most of the second generation would come from the parents who matched their sandy background, Hence there would be ore brownish frogs in the second generation, The bright green children would be spotted and fall prey to hungry enemies.
This is called natural selection. It is the way nature selects those creatures most suited to live in certain surroundings. In time all those bright colored frogs would be weeded out. The desert frogs would all match their surroundings in skins of brown and tan.