Commentators explain that Jonathan's shout was not primarily for the boy but was a pre-arranged signal for David, who was hiding nearby. By shouting, 'Is not the arrow beyond thee?', Jonathan was secretly communicating that Saul's intentions were evil and that David must flee for his life. It was a clever and necessary act of covert communication to save his friend.