If the Game Bar installation or your LAN/headset drivers are faulty, you may not be able to hear party chat in Xbox Game Bar. Also, see whether terminating the Xbox Game processes via the task manager resolves the problem. Also, see if restarting your computer or router fixes the problem.