Actually, your typical housecat will do the exact same thing when he wants you to stop petting him.
And there are such things as friendly big cats.
That said, on a whole they are a bad choice for pets and people should not treat them as such unless they’ve been told that a specific cat is friendly.
Yeah, that’s why I said “if they are annoyed.” I have 7 cats, and they always do that when they get tired of being petted.
Big cats can be friendly, I’ve seen a lion hug its keeper and lick her too. But that doesn’t mean you should trust your life with an wild lion or tiger, etc that you don’t know.