It's almost a comedy trope.
The amateur magician attempts an illusion in front of a large crowd, puts on a good show, and then fails miserably. He's boo'd off the stage, shamed and cowering from the cartoon-like rotten fruit and harsh words of his disappointed and angry audience. When magic doesn't work, it's a sad, frustrating, and disillusioning experience. Any suspension of disbelief disappears, as perhaps the original trick had intended something else to vanish.
And the same goes for "black box" solutions in development. They're fine until they don't work, at which point you have to dig into the abstraction to figure out why, and all the voluntary ignorance disappears. You suddenly find out what's inside the box, and it's nothing special.
It's not magic.
Depending on your abstraction, it might not even be good code.