Permissions tab is disabled for the owner

I am the owner of an SP online site and the permissions tab has been disabled for me.
enter image description here

but I can still add users to the documnet library through the right-hand side menu as shown below:

I do not know how this has happened or how to fix the issue.