The reason for this is deceptively simple and very difficult to resolve.
No two kits of memory are the same. There are a number of reasons for this, batches of memory chips that are used may be different the actual chips from the same batch will perform differently. Vendors program a set of instructions that will ensure the single kit of memory will function at the rated specification.
Now two kits with the same part number may have two different sets of instructions, the PC bios reads one set of instructions and applies that to the entire memory collective. End result is most often not happy memory.
Now you can sit and try and set up each stick of memory individually, that will work. But it is very very time intensive.
Much better to get a matched kit and be done with it.
To help us help you - please provide as much information about your system and the problem as possible.