Why "xEventGroupSetBitsFromISR" sometimes can not set Event?

You are right, it is test code, and I have verified the event grout and tasks are created successfully actually.
In addition, the issue have been fixed. Because I check the API Doc like follows picture.
It is working after changing the macro “configTIMER_TASK_PRIORITY” to “configMAX_PRIORITIES - 1”.
Thanks !