The short answer is that enough users have flagged it for it to display the [flagged] tag. Why they have could be they don't think the post is appropriate for HN, or that the resulting discussion hasn't been or is no longer constructive for the site.