The joystick will stop reacting in the game

Hello!
Please let me ask a question about PICADE’s joystick operation.
After I finish the key assignment, I can transfer the menu according to the operation of the joystick on RetroPie, but if I start rom, only the joystick will stop reacting in the game. What is the cause of this?

I am sorry if it becomes a question that does not go down for everyone because it is a beginner!
Someone advice!