hey man, as a guy on PS i see a lot of these types of complains; something doesn't work the way you'd assume it does, so it gets called a bug or hacking, which quite frankly can get annoying when it gets said in the chat
next time you don't know what happened, try using /data on both Pokemon, as well as on their abilities and the moves used, make sure to look in the log for weather or other type of changes, etc. I've personally found a bug once on PS; when i suspected a bug, i triple-checked just to make sure I knew what I was talking about before I posted about it. Not saying you have to go to such lengths but at least do some cursory checking mang