If an object has a high density then the molicules making up that object are closly packed togeather. Because of this, objects with a higher density will have more mass than objects of the same size that have a lesser density.
The force between two charges is directly proportional to the amount of charges at the two points and inversely proportional to the square of distance between the two points.