First, several of the posts you list are not glitches at all. I've answered a couple.
But for actual unexplained problems, as per the rules make sure they're using a legit game on a real system, not a ROM. The question also needs to have details of what exactly they did to make the problem appear. The more detail they give, the more likely you'll spot a flaw in their reasoning why something went wrong.
For example if someone says their Pokemon won't listen to them, they could be confused because they're using Slaking and that's its ability. Or an opponent used Attract or Thunder Wave and they think the Pokemon isn't listening when in fact it's just paralyzed.
Besides that, well it may just be a real glitch. The games are well-known for having battle glitches, though they're mostly fine in the overworld.