If a company's ultimate goal is to extract money from people, then developers who can extract money faster (even if their rendering/loading algorithms suck) will get rewarded better than those who don't.
That's why enshittification is a thing (and actually come to think of it, not new either). It might be a dev that learned from product leadership that, "I could fix these 13 lines of code. But you know, our company could also sell a 'PRO' version subscription for $5 a month which provides the fix..."
The goal is to write not-bad code. You're not trying to do shoddy work on purpose but good enough is good enough.
There's a reason way more people buy furniture from IKEA than some craftsman who loves woodworking.
People also don't generally pay the premium for craftsmanship in clothing, house construction, vehicles, food ....