It’s not just the JARs that are downloaded. The POM file is downloaded for every resolved dependency from a Maven repository. The POM contains the dependencies. This continues recursively for each dependency encountered.
This is covered in the Maven Publishing section of the user guide.