Was it terrorism or was it a natural (unatural, however you want to take it) act of war, the pentagon was a military installation was it not?

Taken there are civilians that were killed as well but when the U.S. bombs a "terrorist" hideout in Iraq and kills some civilians that isn't terrorism it's an act of war.