PHB: You've only added two lines - why did that take two days!
Dev: Because it took that long to understand the requirements, understand the code, find the root cause, write a test to verify the root cause, and then 2 minutes to write the code to fix it. The resulting code verifiably fixes the root problem for at least reasonable inputs, with minimal code and thus minimal chance of a bug.
PHB: Why not add 50 lines of code and be done in an hour?
Dev: Because that would be enormously more likely to be buggy.
PHB: But it would fix the symptom, right? Don't let perfect be the enemy of the good!
Dev: 50 lines would not to be "good", it would be crap. And we would have to revisit that code in a week or a month.
PHB: But in the meantime we will have delivered, dammit! We're on a deadline, with three managers and five customer representatives breathing down my neck, and you're telling me you want to spend two days on something you admit could be fixed in an hour?
Dev: I never said I could, only that 50 lines would be a crap solution.
PHB: Are you calling me a liar? Or just an idiot?
[Continue until the developer is fired or gives in, loses hope in humanity, and starts planning their exit.]
Thankfully I have never worked with someone like that, but if the starting point is as bad as the first sentence above then it's only going to go downhill from there.