I have a custom object which is related to contact. i am getting the following detail page for the custom object
i am not being able to understand at all where the new Opportunity and new Contact buttons are coming from. They are not lightning quick actions or global actions. can anyone tell me from where can i remove it.