The calculation algorithm of the electric quantity in the ball is different.
Generalized Gauss Law Formula:
That is, when we calculate r>r, we use the total power Q to calculate it.
But inside the ball, which is R.
You will find that the electricity (Q') in the package is less than the total electricity (Q).
This is also the reason why the two are different.
I hope it helps you.