yikes. not sure where to start on this one. I'll start with the obvious~
1) poor build quality, cheap parts = bad psu
2) poor design = bad psu
3) age degradation = bad psu (you should NEVER use a psu older then 5 years)
Power supplies represent a "dangerous" part in the computer. A bad one can become a legitimate fire-hazard. In addition to obvious fire hazards, a power supply that fails can kill EVERY SINGLE part in your computer.
Now if you're asking how to tell if a power supply is good or bad, the answer is research. there is absolutely nothing on the box that will tell you it's a good power supply. Power supply manufacturers have been known to lie, furthermore there is no certifying or regulating body which verifies a power supply is quality or matches the numbers printed on the box. Due to the state of this market there has been a lot of community research into power supplies, and some serious reviewers who have done some significant testing on power supplies to help inform the public
here is a good list of power supplies. I don't suggest you buy any power supply lower then Tier II on this list. I also strongly advise you to be careful when selecting a power supply. the names of the power supplies on this list are VERY specific. only power supplies with the EXACT names listed are valid. For example, the
EVGA Supernova is a solid power-supply, but all of the
EVGA Supernova NEX power supplies are complete landfill quality junk.
https://community.newegg.com/eggxpert/computer_hardware/f/135081/t/45344.aspx?Redirected=true
A general rule of thumb to help you become more comfortable researching and selecting a power supply is to look for a power supply made by "seasonic" including all rebranded seasonic power supplies sold under the "XFX" "Corsair" and "Antec" name. Understand not all XFX/Corsair/Antec power supplies are made by seasonic, so it will take a little research. But generally you can trust anything made by seasonic.