Nothing's wrong with your app - that's exactly how Google does it. They don't show one "correct" version of borders worldwide. Instead, they detect where you're accessing Maps from and show you the borders as they're recognized in that country. So if you're in India viewing a contested region, you'll see one set of lines; switch to a Pakistani IP address and the borders shift. It's not a glitch, it's deliberate policy.
Google made this call because some territories have competing claims with serious political weight behind them. Rather than pick a side and anger one government (or multiple), they localize the display. Your account location, device location, and IP address all factor into which version you see. Disputed areas like Crimea, Kashmir, the Golan Heights, and parts of the South China Sea all get this treatment - the borders literally change depending on where the request comes from.
The tricky part is that this approach works fine for travelers and casual users, but it means there's no single "true" map on Google's platform. If you need to know the internationally recognized border according to the UN or another authority, you'd need to check that separately. Google's not trying to be sneaky about it - they're just staying neutral by giving each region what that region's government considers correct.