It starts with the cub. While they only consume one item from a stack of food to grow from a normal baby animal to an animal companion, some foods have a higher chance to produce a "greater" variant. Learning their preferred food and grabbing several cubs to increase your chances is well worth the effort, the "greater" variants have much better stats (and sometimes cool looks).