From what I remember, ocelots followed parents in the past. At least on ps3 edition, so then it'd be a parity issue if this is still a thing on bedrock edition
confirmed it with 1.17.1 Perhaps the cause is the AI that escapes from some mob, including the rabbit and villagers that are the specifications (the turtle has an AI that escapes to the waterside when attacked). But foxes don't apply to this. (Escape from the player, but the baby follows the adult.) In my opinion, but babies who don't follow aren't cute.
Details of mobs where baby mobs that do not follow adults escape. wolf -> llama cat/ocelot -> Player turtle -> Attacked mob or player (escape to waterside)
WAI mob Rabbit -> Numerous mobs and player Villager -> zombie,zombie villager,husk,drowned,Illagers
Rabbits (MC-158608) and Villagers (MC-16862) are intended - so it is likely the other ones are too.