Because Eclipse is an IDE, and at least for Java, it just works out of the box with default configuration. And that includes popular build tool integration, code execution, step-through debugging, version control, and a bunch of other stuff.
In the world of VSC, this stuff requires figuring out which tool the community recommends, configuring it, and making sure that all the things you chose actually work together.