My theory is that so6p left some scrolls that the uzumaki stole and learned fuinjutsu from . and the sage had reningan from start perfect eyes + perfect body . And when the jubbi was sealed in him his reningan had the infuence of 10 tails n he passed on sharingan to future gen