Elliptical instability in terrestrial planets and moons