The Mandatory setting on Project/Category means the category must be assigned to the project to enable use of the category on that project.
You have two options for resolving this issue.
Option 1: Change the mandatory setting on the project.
Option 2: Assign the category to the project.
If you've found this thread useful, dive deeper into User Group community content by role