As said voltage would do it (but why didn't it fry anything else?) and I guess shoddy construction on cheap modules could cause it too.
Because if it's the regulation of voltage being sent to the ram that's the problem (for example you can change this in the BIOS on some boards) the regulation elsewhere might be fine.