I would have an opened and honest conversation with those at the YC company that requested that you do not apply to YC. This way you can get a sense of why they think you should not apply. Ultimately, the decision to apply or not is entirely yours.