I think your frog is shedding. That's what mine did when he just sits there with mouth open and close all the time. My frog was also using his front legs to stuff the shed skin into the mouth so he could eat it.