Galaxy s20+ HDMI cable not recognized

I have a galaxy S20+ and a generic USB c to HDMI cable. I connected the phone to a Philips monitor but I don’t see anything on the monitor and in the USB settings I only see USB controlled by: connected device. And when trying to switch it to This device, I get an error saying “couldn’t switch”. Not sure if this cable isn’t compatible by phones or if there’s any settings I can change.