There is neurological process of where strength gain becomes more efficient, it becomes easier for your muscles to repeat that movement.
By doing more pull ups or more pushups, you get better at doing them.