In a pragmatic sense we were at war with Japan and they were at war with us prior to Pearl Harbor.
They were acting boldly against our interests.Embargoes were in place.
Any peace was extremely tenuous and the US was preparing war.We were aiding and abetting the enemies of her allies, in what was already a “world” conflagration.
The US had acted “imperially” in the the previous decades and had ramped up mobilization for war at least as early as 1939. We had not been sitting around eating apple pies and playing baseball. Everyone with the need to know anticipated a “sneak attack”…was certain of one, but expected it to be more of a proxy nature or at least not be as devastating as pearl harbor.