Not sure how many of you fellow Pokemon players out there have noticed, but Pokemon Amie, which is generally adorable, friendly-looking, and allows you to play with your little buddies (or big in some cases), actually allows you to slap your Pokemon around. This is indicated by a red spark outlined in yellow accompanied by a loud "smack" and the Pokemon you've struck reeling back, letting out a pained cry, and giving you a brief glance of sadness or anger. I've accidentally done this on a small number of occasions and have looked it up, only to find that some people have been mistaking it for poking them too much in a place they dislike. However, I've recently discovered that their conclusion is not the case.
I just got done beating the game a second time (managing to save all of my teams from deletion thanks to Pokemon Bank) and spent some time playing with Firefox (my Delphox) in Amie when I accidentally triggered it again. This time, however, I quickly spotted a pattern and, this time, deliberately tried to do it again to see if my hypothesis was correct. I placed my stylus against the bottom screen and, as quick as I could, flicked it up past the fur of her ears. It happened again, and that's when I realized how it was done: speed. This would mean that the game is registering you as actually slapping your Pokemon around when this happens, rather than merely poking it too much. Not sure why Nintendo put this in there, but they did.
Now, I'm sure that anyone who has X or Y would like to avoid this as much as possible (I know I do)...well, the solution is obviously to simply be more gentle when petting. It'll probably take longer to build up the affection that way, but hey, at least you won't have to feel guilty about accidentally slapping a creature who constantly puts its well-being on the line for you across the face.
Now, if you'll all excuse me, I gotta go give my poor Delphox a bunch of love and Poke-puffs in apology for being my guinea-pig for this. Later.