I just want to add my own replay that shows the same bug.https://replay.pokemonshowdown.com/gen8ubers-1018934501-op6tve9d73iuel5kxyw1c4frj8ont6tpw
In this game, after Galarian Weezing was knocked out, Zacian got its attack boost twice from its ability which we both think is a bug. Ditto then got the boost twice, but this makes sense by virtue of its ability, Imposter. Still Zacian should have only gotten the boost once instead of twice.
https://replay.pokemonshowdown.com/gen8randomdoublesbattle-1019002155
In turn 3 of this replay, when the Weezing-Galar was knocked out, the ally Gyarados' Intimidate activated once directly after and again just before the replacement mon was switched in.