>>14993212the three-body problem has nothing to do with the atmosphere being retained by gravity
the three-body problem refers to the lack of analytic solutions to certain nontrivial gravitational problems involving three or more bodies, since the evolution of such systems is extremely chaotic