Two Similarities Between Gravity And The Electrostatic Interaction