Behavior in cats?

So there’s this stray cat I’m feeding and whenever I pet her she gets very aggressive when I stop. She wants to be petted literally 24/7. Does anyone know the cause of this?
Updates
+1 y
And what to do
Behavior in cats?
Post Opinion