Situations occur in which problems arise that require an immediate fix and very soon, we end up spending more time extinguishing fires than doing actual work.The fix is oftentimes a temporary patch that soon becomes permanent until another firefight alters it to become a double-patch, and so on. This is highly likely to increase technical debt. This is a main contributor of high levels of inefficiency and poor quality.
To avoid this, management must promote a culture of good-quality code that doesn't generate fires and for having good discipline, such as code-review, peer/SME guidance and sustainable work that doesn't require spikes of long hours and hard work.