The question isn’t “is it ever justified”. Of course, sometimes it is — if America engaged in a massive genocide of the Jews, Jews would be justified in hating America. The question is, what would America have to do to an individual person for us to say, “that person is justified in hating America”? And more specifically, does years of extra-legal detention in an isolated prison where innocent people are tortured qualify?