(1) (Too far removed) Engineers in India / China mostly work on projects meant for Western markets. They do not always understand the problems that the project is trying to solve. They rarely get to see it work in the wild.
They can't feel proud of creating something they will never see in action. If the project is a huge success, the engineers who created it will almost never be rewarded.
Under these circumstances, it is hard to care.
(2) (Culture) The culture prioritizes seniority over performance. Manager is always right. If you are a 10x engineer and your manager is mediocre but always right, good luck navigating the potential issues.
(3) (Wrong incentives) Most software engineers work for outsourcing companies. These companies get paid for delivering projects. Size of project matters. The incentive is to inflate the projects and create as much work as possible, maintainability be damned.