Controller disconnects when USB anything plugged in

Ok so idk what’s going on so I’ll start from the beginning I wanted to use a keyboard so I plugged a keyboard in I have a Xbox box one x with a Seagate 4tb external drive plugged in well that when my controller disconnects for the first time so I assumed it was the keyboard so I unplugged that but now the Seagate witch was working fine now will not read until I unplug it and replug it a few times but when it manages to actually connect to the drive the controller works then stops and turns off and keeps doing that until I unplug the USB Seagate then it just works I don’t even need to reconnect the controller to the Xbox just turn it back on and it works like nothing happened until I replug the Seagate please help I’m so confused.