The "kneading" habit visible in cats ordinarilly comes from kittenhood once they knead their mother's belly to stimulate milk
https://jaredmgvh747.wordpress.com/2025/02/26/top-affectionate-cat-breeds-that-will-follow-you-everywhere/
The "kneading" behavior considered in cats almost always comes from kittenhood after they knead their mother's abdominal to stimulate milk circulation; it be a sign of convenience in adulthood too