Poisson's equation with and without cosmological constant

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