If you look at the vertical dimensions of those ports, you'll see they had to successively eliminate the tallest ones as the cases got thinner. For instance, counting from the bottom:
To go from #2 to #3, they had to ditch the ethernet port.
To go from #3 to #4, they had to ditch USB-A.