It means "you're being unpleasant". It's like saying "You're being a real pain in the butt." For example, if your kid had been whiny and troublesome all day, you might eventually turn to them and say, "Stop it. You're being a pill."
Didn't find the answer you were looking for?