The Pentagon has faced questions from lawmakers, local leaders and citizens over the removal of military heroes and historic mentions from Defense Department websites and social media pages.