That's fair enough, but it's getting out of hand now. Defending corners/free kicks is more and more like a scrum. The referees need to be telling both sides that using arms as a defensive or attacking move in dead ball situations is a no-no. Every goal scored and every penalty incident will be reviewed by VAR for who used the arms first. Then the infringement awarded on that basis.
Then, for the Maguire one, IIRC, the defender started using his arms to block Maguire's movement, Maguire tried to get the defender's arms out of the way, and they both got tangled up. The defender started it, even though both were involved in it - penalty.
You can see in the two later games, that the referees tried to sort this out on the pitch, probably to no avail. It needs to be done before the match, or the tournament, starts.