I'm not sure Microsoft is deliberately making things worse for Linux users, either, but the fact that a better implementation is both possible and straightforward enough suggests that cross-platform performance is not quite the priority that marketing materials make it out to be. We're not talking rocket science here. If this is indeed not specifically about Linux, then either Xbox Cloud's code review practices are at best questionable, or the paradigm that best describes their approach to client-side performance is #yolo.
Also remember that Xcloud is still beta, with a feedback form after every session, and probably some telemetry. While it would technically not be rocket science to detect codecs, I'm more inclined to think that this is a blanket denylist because enough reports have come up and showed that using better codecs/higher quality produced a subpar experience even though codecs are reported as supported (which might come from a zillion reasons such as codecs falling back to software decoding, or underpowered hardware, and both could be true for PC, Chromebooks, and Android).