These insects feed on the leaves but their honeydew can be deposited on the fruit; sooty mould grows on the honeydew.
Black spot has a different appearance to sooty mould