Poisson's equation with and without cosmological constant

following up on last week’s post, where you could show that a term Φ=Λr2 is a natural solution along with Φ=GM/r to the Poisson equation: why are both terms present in gravity but only the second one in electrostatics?