To prevent sand from getting into the soldiers' foreskins