PC firmware is a mess because pre-UEFI boot behavior was mostly a custom rather than a defined standard, but then standards got added over time. That basically adds up to the success target for most manufacturers being "does it boot Windows?" - once it did that, then they were done.
UEFI was supposed to make this better, I guess, by specifying everything in several hundred (if not thousand) pages, but it added a lot of complexity (esp. with Secure Boot and such). It doesn't help that most end-user visible firmware functions are rarely accessed, so as long as it does boot Windows in the manufacturer supplied hardware configuration, most people won't care or even know of any issues.
PC firmware bugs aren't really anything new. When ACPI first came out in the late 90's/early 00's, initial implementations were buggy - so buggy that I think starting from Vista, it won't boot if the BIOS date is before 2000. Linux source code has numerous BIOS workarounds in it.
El Torito, the standard enabling bootable CDs, also had problems when it first came out.
Another example:
https://askubuntu.com/questions/521293/an-ubuntu-command-bri...