They deliberately show themselves to the Philistines garrison. Why did they do that? Because they reason that the Philistines would look over the edge of their rocky stronghold, and they would see these two men and say, ‘They are obviously not an army.