The main purpose of accesstoken is to provide authorization of a user's resource on behalf of a user. That is why WSO2 IS prompt the login page to authenticate the user and get users' consent. When an application gets accesstoken on behalf of a user, the user should be authenticated using some mechanism and should be aware of it, provided scopes, requested claims, etc.
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user. If you don't want to access the resources of users (APIs of users), then you can go with client-credential grant type.
Incase, if you want to access users' resources and don't want them to enter password or If you don't want the default authentication by IS, then you can use social logins (Eg: google, facebook) and login using those federated authenticators. In that case, users will not be explicitly prompted to enter a password to IS login page. Then will be logged in via those google or facebook. https://is.docs.wso2.com/en/5.10.0/learn/configuring-federated-authentication/