When a QA contract ends, the tests stay and the context leaves with the contractor. Unless someone plans for it, maintenance falls to whoever is closest to the failing pipeline. That is usually a developer who never wrote those tests and has no time to learn them.