Some stone forts have jutting out pieces to stop ladders. You can't hold a long ladder high and place it against a wall, they're too heavy and unsteady. So you run up with several people, set it against the wall, then slide it up. A projection prevents that working.
However, that said, they only have to be small projections.