It is an expression using the word "pull" for whatever reason. "They use tricks against you."
For example: If someone replaces your milk with cream, that's a trick, so they "pulled a trick on you".
It usually refers to when you make a trap or set something up instead of just lying to them.