Cycling does improve your core strength which is your abs and back muscles. In fact doing core training is also a good way to improve your cycling. And I know BMX is very upper body intensive with lifting up to do bike jumps etc so I imagine MTB is the same way. I think the combination of the two is helping your pull ups.