Leopards, jaguars, and the domestic cat all regularly climb trees, but lions and tigers rarely do. From what I can tell from a basic online search, the latter are inexpert tree climbers, but they theoretically can.
My question is about the direction of evolution of tree climbing among the felidae. Did the ancestor of felidae have the ability to climb trees, and lions and tigers lost the agility necessary to do so with ease, or is this an example of convergent evolution, and jaguars and leopards happen to excel at it for physiological reasons? If so, what are those reasons?
What makes me unsure of the former is that cheetahs, not nearly as large as tigers and lions and quite agile, also have difficulty climbing trees. Is this a primordial behavior of the cats' ancestor or just a learned behavior among cats?
Some studies at least suggests it's that scapular shape is indicative of climbing skill. Canids are not regularly known to climb trees, though many bears do.
To be clear, I am not asking "why do A have Y ability but not B." I'm asking about historical priority. Was this a characteristic that existed in e.g. Proailurus, or did it evolve separately? I'm aware that the "why" questions are speculation and meaningless, but instead I'm interested in the history of this family of species.