Certified GKH Gardening Expert
It may be fig souring, which is essentially rot. Make sure your container soil is well drained and you are not overwatering.
It also could be a wild male form, which does not produce edible fruit but aids in pollination. In that case you would need to get a female plant.