Looks like a boo-boo. Im not experienced with tree frogs, as I have a pacman frog, but I recommend looking on this website.

http://www.frogdaze.com/The_frog_doctor.html


If that doesn't help, take him to the store that you got him from, and see if you can arrange a visit with a vet that specializes in amphibians/reptiles.