Some soundbars have more than one HDMI port. Ensure the HDMI cable is connected to the HDMI port that supports ARC/eARC.
Note: Some soundbars do not have the words ARC/eARC printed next to the HDMI port. Check the documentation to identify the correct port.