i have also read that some frogs do it when courting, so i'm guessing it has to do with excitement.