It might be parasites like worms or maybe stress because it's being surpressed by the other frog.
But like the one with the long name says
Pictures and some additional info might aid in some more help.
Best you can do is find a vet that knows how to examin frog feces,
this will rule out any internal problems or gives you the knowledge of what to treat and how.