There are a few reasons why your PlayStation 4 controller might disconnect randomly. One reason could be that the controller is not properly registered with your PlayStation 4. If you have trouble connecting your controller to your PlayStation 4, make sure to check if it is properly registered by going to the PlayStation4 system settings and checking for “Controller Connectivity.” If it’s not connected, try reconnecting it by pressing the power button and then the PS4’s main power button at the same time. If that doesn’t work, you may need to replace the controller.