This is your cat, it has been petted by you long Enough. It has decided to return the favor and to give back all the love you gave it aggressively. It doesn't know how to pet, so it might just slap you in the face. It is your job to fix that Issue