Internal flexi’ connections are often foil screened - and stabilised/secured with adhesive to other internal components. What you see is evidence of incorrect and/or clumsy disassembly that has more than likely damaged associated components.
What you have is an iPad whose internal integrity has been severely compromised - either by the unauthorised repair, or through subsequent disassembly. Either way, you’re now on your own.
Other than referring you back to whoever attempted to replace your battery - and stating the reality of your current position, no other guidance can be offered within these Support Communities - as to do so would likely transgress the ToU that governs participation within Apple’s Support Communities.