This wonderful picture is so full of geology it makes my head spin. If you zoom in on the picture (higher resolution here) you'll see the dinosaur footprints - there's over 400 discreet trails. a huge number; the natural question after this, of course is how did they end up sideways ?
This rock is part of the Andes mountain range system. The mountains are created by magma rising up though the continental plate (south America) - magma of different densities is separated, and lighter, hotter magma rises to the surface; during its rise, it also pushes up anything it encompasses - in this case, the wall with dino footprints.