If the players are using their resources to smash through strong guards, and the GM covertly buffs them to counteract that fact, then that is precisely the point I am making about it undermining the players' agency. The players decided to burn those abilities on those guards. Let them trivialize them. That's why they used the resources. That was their decision.
The GM robs them of that agency by changing it behind the scenes, without telling them, and becomes the sole arbiter for how an encounter is "supposed" to play out.