If it helps, you can view HPs and AC as both abstractions that represent your defenses.
When viewed in that light, they are somewhat interchangeable.
In fact, increases to your AC or penalties to the monster's attacks can be quantified into hit points by taking into account average damage per...