People are .. people.
You're working for a person, not a company. If you forget this, then you might end up surprised.
People still value results, but they expect the price of things to be vaguely related to the cost of materials + time + small profit margin.
And in an efficient competitive market, prices are related to costs. If there were 5 identical providers of "web page updates", then the maximum you can charge would end up close to how much of your time it takes to run the script, and the customer would get to keep the surplus value.
If you are in a position to get away with value-based pricing, then you have to be careful to keep your costs secret, because otherwise you make people irrationally angry about being ripped off.
One group, group A writes crap code. Another group, group B is meticulous and careful, constantly refactoring, using good testing and code review practices, taking care to design their software with forethought before ever committing code.
Group A's code is in a constant state of breakage. Group B's code always just works.
On the other hand, Group A is extremely vocal. Their manager makes sure to give updates at every meeting. Hosts (mandatory) all-nighter pizza parties to fix the crap they broke during the previous cycle. Large parts of the company are privy to the drama. "They're working so hard, really pulling their weight! So dedicated to the company!" Back slaps and high fives when things kind of, sort of, stop breaking. This is a constant, regular cycle. All the non-engineers think this is the hardest working group in the company. In a way they are. In that same way they are the stupidest group in the company.
Meanwhile Group B steadily builds good software quietly. No late nighters, engineers go home at reasonable hours, sometimes early. Same with managers.
Restructuring event. Cuts must be made. Who gets pink slips? The quiet ones. And their managers. Not the retards putting out unmaintainable crap day in and day out.
The guy in my former group who complained a lot and would push back to the management heavily was the one the manager respected the most.
The problem is: His complaints were often ridiculous and did not have merit - no one was fooled by them - not even the manager who usually ignored his complaints.
But his behavior (regardless of the content) was used unintentionally as a measure of how engaged the employee is and how much he cared about the work (complete BS - the employee was a good friend of mine and I knew him well).
This isn't just my view of the world. The manager essentially told me this.
Now of course, he was a pretty poor manager, but I do believe that unless a manager actively guards against these kinds of judgments, they will be the default.
The manager must know the work, otherwise he can't manage. Doesn't sound like the case.
Although yes, it was a separate problem that he didn't know plenty of the operational "small" details which caused him to always underestimate project timelines.
A leader must understand the daily work in great detail so that he or she can be a best teacher of your company's philosophy. -- https://missiontps.blogspot.com/p/14-principles.html
That's different from the TPS reports of Office Space fame (https://en.wikipedia.org/wiki/TPS_report).
Here's a common situation from programming. A programmer, Steve, works long hours but writes sloppy code. Steve is often seen by management fixing critical issues in production, and 'saving the day'.
Eventually Steve, leaves to work at a bigger company and is replaced by a new programmer, Dave, who is more methodical. Dave eventually cleans up the code and gets it to run smoothly. The problems in production go away, and Dave can work at a leisurely pace.
Management will typically think to themselves: Dave is pretty good but that guy Steve was a real rockstar!
Humans are biased to like stories. The story of Steve slaying software dragons[1] is just way more compelling than the boring tale of Dave watching a machine smoothly do its work.
When that company hired you to work for them, a subtext of that arrangement is that you were both going to go on a quest together. I believe this to be a deeply embedded bias in human thinking, and that it explains part of why they were miffed.
[1] https://en.wikipedia.org/wiki/Hero%27s_journey