Badlands are usually Chinle formation which dates from 200 million years ago. These sediments are the silt deposits from flowing streams and rivers. The colors likely come from chemicals that filtered through the layer long after it was buried by additional sediments. The colors in this particular place are quite dramatic. The stones in the middle ground are petrified wood.