The mass and distance between two objects affects the strength of gravitational force.
What factors do you think might affect the strength of the electric force?