yanking your chain

If someone is yanking your chain it means they are intentionally doing or saying something that might be upsetting or annoying to you, but are just joking around or kidding. Usually this means they are doing it on purpose to try to get a reaction out of you, but sometimes they mean it in good fun and humor and did not mean to upset you, which is why they will say they were just yanking your chain.