Purposely saying or doing the exact opposite of what they were asked or told in a childish manner, to cause someone anger
For example if you were to ask someone to be quiet and then started talking louder,that would be them being petty