Update your post to include full system hardware specs and OS information.
Include PSU: make, model, wattage, age, condition.
Disk drives: make, model, capacity, how full.
Two likely causes:
1) The PSU was not able to provide the necessary power to the devices connected via that cable.
2) The cables and connections being used appear to have been modified in ways that are both incorrect and poorly done.
Cut that cable into pieces and throw it away so it can never be used again.
Further use of the cable will certainly cause some system damage totally ruining your PC at best or causing a home fire at worst.
You must find the applicable documentation for the components being use for your build.
Begining with the motherboard.
You must use the correct cables without any modifications, splices, adapters, converters etc. barring those specifically intended for such purposes.
For example if the build includes a modular PSU then only the cables that came with that PSU should used. As it, unmodified.
Stop what you are doing and find a knowledgeable family member or friend to help.
You may not be so lucky next time.