Because bash error handling is a thousand blades and no handle.
https://blog.habets.se/2021/06/The-uselessness-of-bash.html
I've reviewed a lot of code, bash and otherwise. I have never, not once, reviewed bash code that didn't have subtle bugs. And this is code written by smart people.