Because group membership in Jira isn't limited to one project.
If the same group is used in roles or permissions across three projects, removing the user from that group can remove their access to all three.
That's why the confirmation dialog shows Also removes access to before you continue. It's there to help you understand the impact before making the change.