I treated it as a in-universe punishment for magicking a poor, defenceless spoiler! I also chose to believe that the magician was wearing a hi-viz jacket while going about all that perilous hole-filling.