# Field strength variation of different types of fields

petrushkagoogol
The field strength of gravitational, electric and magnetic fields vary as the inverse square of the distance from the source.
Is this because all of the above fields are generated by fermions and they behave identically regardless of the nature of the fields ?
Do the above fermions have rest mass ?