I think I got the point of (*)
and had a better understanding of the official documentation regarding the asterisk.
Dependencies with the same coordinates that can occur multiple times in the graph are omitted and indicated by an asterisk.
Gradle will add the asterisk sign only when a dependency has its own dependencies and the dependency has appeared previously. So that its own dependencies won’t appear multi times.
For this case, com.google.guava:guava:30.1-jre
has its own dependencies, while org.slf4j:slf4j-api:1.7.30
doesn’t. So only the former is marked by the asterisk sign.