My dropdown menu is not working

Hello, Campers,
I build these two dropdown menus but one is working correctly in the responsive mode and the other is not, I tried a lot to find any error or mistake but did not able to find any. Can you guys give me any suggestions on why this dropdown menu is working correctly and this one is not?