FBI Director James Comey said law enforcement officers must work to bridge a gap with the communities they protect.