Commercial foods like this are often difficult to digest for frogs. However, you might be dealing with the frog having developed a preference for other foods. I would keep trying to make them eat the commercial diet - don't give in by giving them other foods too until they're established on the commercial diet.