Those look like stuck sperm plugs. Normally they should go out on its own, but this looks like they’re stuck and starting to irritate. Maybe putting some k-jelly on it to soften it and making it easier to come out. Not really experienced with it. @kinyonga any tips?
Those are extremely irritated compacted sperm plugs... They typically get like this when the chameleon is not hydrated enough to shed them regularly. So you end up with dense plugs like this. Get regular plain no additive KY jelly to put all over the area. You do not want the exposed tissue drying out. And you want to get this boy into a reptile vet asap to get them removed.
Then it would be a good idea to review your husbandry so we can make sure you have the correct info for him.