To behave in a way that is likely to cause problems.
To obtain a reaction from someone, especially one of annoyance.