I am reading the chapter 27 of the GR book MTW, which deals about cosmology. The Friedmann metric of a spacetime where the space is a 3D-sphere is:$$\mathrm ds^2 = -c^2\mathrm dt^2 + a^2(t)[\mathrm d\chi^2 + \sin^2(\chi)(\mathrm d\vartheta^2+\sin^2(\vartheta)\mathrm d\varphi^2)]$$ After calculating the connections, the Ricci tensor and Ricci scalar, the following equations (from the Einstein field equations) are obtained (I introduced G and c, not present in the book): $$\frac{1}{a^2} + \frac{a'{}^2}{a^2c^2} = \frac{8}{3c^4}\pi G\rho$$ for the $00$ (time) differential equation and $$-2\frac{a''}{a c^2} - \frac{a'{}^2}{a^2c^2} - \frac{1}{a^2} = \frac{8\pi G}{c^4}p$$ for the $ii$ (spatial) terms.
My question is: why is not mentioned the possibility of $a(t)$ be a constant, so that $a'$ and $a''$ are zero? (By the way, it is possible to imagine that Friedmann tried this before put $a$ as an $a(t)). $After all, the belief in a static universe was prevalent in that time, and if Friedmann rejected that hypothesis from the equations, it is because it must be contradictory in some way.
One reason could be that, if $a$ is constant, the pressure is a function of the energy density, what seems strange. $\rho$ and $p$ would not be 2 independent variables. Are there other (and better) reasons?
My understanding is that Einstein had to add a cosmological constant (to keep a static universe) in the field equation exactly because $a(t)$ could not be a constant.
