With its guns in a retracted position (down behind the parapet), the battery was much harder to spot from the sea, making it a much harder target for attacking ships.
Simple, well protected earthen and masonry gun pits were much more economical to construct than the previous practice of constructing the standing heavy walls and fortified casemates of a more traditional gun emplacement.