I've come across this problem several times. Someone creates a library intended to simplify stuff but what I want do isn't what the library author thought I would want to do (or I can't figure what he wanted to do). Then I spend more time trying to figure out why it's not working than if I just wrote my own code in the first place.
From this video about the Boeing 737 Max problems it seems like the exact same thing happened there - but with deadly consequences. The pilots didn't know what the software was intended to do and they didn't have time to figure out a solution. (They had not even been told the software existed).