Throwing a rock in someone’s treads is another way of saying that you are inconveniencing them or irritating them for fun.
*Alex and John are playing Counter Strike and Alex is spectating John*
Alex: HE’S IN THE SMOKE MAN HE’S IN THE SMOKE!!!”
(He’s trying to make John panic and perform poor for the sake of humor)
John: Shut the flip up man, I hate playing with you.
Alex: I’m just throwing a rock in your treads man.