Your cat tries to trip you on the stairs because he is trying to get in front of you and lead the way. Sometimes he might want to play or chase you and accidentally gets in the middle of your feet.