This question already has an answer here:
So as I understand, the inverse-square law which shows up in a variety of physical laws (Newton's universal law of gravitation, Coulomb's law, etc.) is a mathematical consequence of point-like particle emanating a certain physical quantity in all directions in the form of a sphere, and the density of that quantity is inversely proportional the surface area of that sphere on which that physical quantity gets spread out at a certain distance (radius), and since the surface area of a sphere is directly proportional to its radius squared, therefore the density of that physical quantity is inversely proportional to the distance squared.
My question is: consider the specific example of point-like particle with a certain gravitational mass, now if we pictured the gravitational field of that particle through gravitational flux that emanates out of it isotropically, the density of that gravitational lines is inversely proportional to the volume of the sphere at a certain given distance (radius), and since the volume of sphere is directly proportional to the radius cubed.
Therefore the force of gravity (or the electrostatic force or whatever) is inversely proportional to the distance cubed.
What is wrong with this analysis?