Probably was due to their obsession with making things as thin as possible (Ive). Internal connectors take up more space than direct soldering. But, it’s also probably easier to manufacture (Cook), because you don’t have to have a person manually plug in a cable/ribbon. But on the balance, I’d guess that the decision to remove internal ports was all about thinness.