Come by means to obtain, especially something rare, and fits How have you come by such a precious diamond. Come across means to find by chance, which also makes sense here. Come upon is close but less natural in this obtaining sense, while come to and come over do not suit the context. Hence A and C only is correct.