Original: Some form of armour appears to have been necessary, as it coexisted with large predatory theropod dinosaurs, such as the fearsome Allosaurus and Ceratosaurus.
Simplified: The armor was necessary as it lived with such meat-eaters as Allosaurus and Ceratosaurus.