This means to make a person behave in a particular manner, especially in an angry way, usually for your own amusement. Complaining about a person who does this to you: ‘Bob really knows how to push my buttons!’ It’s like somebody is able to control your emotions and behavior.