It is the customary in the Middle East to build high concrete walls around a house. The walls help keep the desert outside and give women privacy to walk around their homes without having to be covered. Even though guards are employed to open and shut the gate, I think, generally, security is not an issue.
Which is good – since some of the guards are sleeping.