@pablob It’s 100% the training.
I am 6’ 1” and 260 lbs, and can reliably bang out 20-22 pullups at a max effort. Now granted, this is because I’ve trained them for years, but that is my point Pullups require a lot of lat strength, and losing weight is not going to change that. What it will do...