I have a young whites tree frog about 2 inches long. He went through a period of eating fine than didnt eat anything for weeks. Finally eating regularly again but his feces are not solid and runny.

Anybody have any idea on whats wrong?