I believe that was caused by the geography of the Deep. Namely, the Helm's Keep (Hornburg) was located on the rock outcrop, and the Deeping Wall merely closed off the entrance from the Helm's Deep.
“At Helm’s Gate, before the mouth of the Deep, there was a heel of rock thrust outward by the...