Fruits with black damaged parts are caused by blossom end rot. They can be eaten as long as the damaged parts are safely removed.