The frog is probably iritated by something in the enclosure, hence the spots.