Aside from them being completely naive dumbasses, I can't recall there ever being an actual explanation as to why they constructed the wall in the most nonsensical way possible.
I'm looking forward to Rick and the posse going on the offensive when they get back and they hunt down the wolves at their compound. Should be entertaining.