The act of making someone happy just long enough to turn around and annoy them again, maintaining a balance that will keep the person around and under your thumb while still using and abusing them.
Her boss is playing pet the kitty, piss offthe kitty with her, but she's catching on and about to walk out on his ass.