The LG's team wizard is, just like the rest of the LG, a NPC whose very reason to exist is the PCs.
Of course it's ridiculous if you look at it from a "Z's personal motives for doing it" POV... but that's not the point. The comic is PC-centered. Trying to find the reasons/motivation behind Z's behavior is fruitless, you might as well try to figure out what would the motivation be for 1d4 dire camels to find themselves in a swamp.