Remember that raid bosses get to take multiple actions per turn. The staleness counter for moves like Protect, Detect, and Obstruct resets as soon as you use any move that's not a protection move, meaning that if it uses Obstruct followed by another move, the next Obstruct will be back to a guarantee.