If the Armor Stand is holding an item, you have different items in your offhand, and your main hand is empty. If you right-click on the Armor Stand while or shortly after moving, both your hands will interact with that Armor Stand once.
Steps to reproduce
Enter a world with “Off-hand Parity“ enabled.
Place an Armor Stand and put a Gold Ingot on its hand.
Put some Iron Ingots in your offhand, and empty your main hand.
Right-click on the Armor Stand while or shortly after moving.
Expected result
The interaction with the Armor Stand would only happen once, which is that you take the Gold Ingot it was holding into your main hand.
Actual result
Both your hands have had an interaction with the Armor Stand, which means within one single right-click, you not only take the Gold Ingot into your main hand, but also put an Iron Ingot from your offhand to the Armor Stand.
Thank you for helping us improve Minecraft! We saved your files: