Most of the initial theories of system formation was that inner worlds were basically proto-cores for gas giants, except the solar wind blew most of it during formation, so you got small worlds until a "safe distance", where it switched to jupiter and all that.
Then, exoplanets happened, and...