If this was my frog I would take him to a vet straight away. It looks like an injury, perhaps a cricket bite. I really don't know. Seek medical advice and I hope he is okay.