Hi Maddie.
Thanks for your reply.
You may need to clear all Bluetooth devices connected to your computer. If possible, please provide a screenshot of these devices in the Device Manager. Typically, you can right-click on a device in the Device Manager and select Uninstall (if available, make sure to check "Delete the driver software for this device").
If the above operations do not allow you to use the Bluetooth function, you can try to reinstall the Bluetooth driver provided by the manufacturer.
Additionally, you can also try using the "Troubleshoot - Bluetooth" feature.
Your situation seems more like the Razer headphones are interfering with the connection of the Apple headphones.
If possible, please provide a screenshot of the Device Manager related to this issue.
As well as a screenshot of Control Panel -> Hardware and Sound -> Devices and Printers.
Be sure to remove any personal privacy information from the photos.
If anything is unclear, please do not hesitate to let me know.
Best regards.
Malygos - MSFT | Microsoft Community Support Specialist