What are primary reasons for the failure to localise/anchor sequences in genome assemblies?
I'm going to re-interpret this question slightly to make it easier to answer:

"Why do genome assemblies frequently consist of large numbers of short contigs rather than a relatively small number of long chromosomes (or full replicons of other types)? And how could I make my assembly better?"

De novo sequence assemblies (usually) consist of a set of contiguous sequence fragments ("contigs") that have been derived from shotgun sequencing by some heuristic. If sequence assembly did a perfect job, we would expect that these contigs would be full chromosomes. Instead, what we observe is lots of sequence fragments with uncertain relationships to one another. In this common case, we think that some of the contigs could be stitched together ("localized", "anchored", "scaffolded") meaningfully into chromosomes, but we aren't sure how.

For de novo sequence assembly, there is no ground truth to compare to. So all of the information for generating assemblies comes from the starting sequences (which are usually "reads", small shreds of sequence that come off of a sequencing instrument). The heuristics that generate contigs from reads consist of finding overlaps between different starting reads and trying to extend them into the largest possible partially overlapping groups of reads, using some assumptions about rates of error in the sequence of the reads (and other variables). See wikipedia or this paper (figure inset) for a little more information on this.



It turns out that there is a body of statistical theory that governs how large these overlaps will be, and therefore how big/complete your contigs will be. This body of theory says that the size and number of contigs is predictable to some degree from the size of the genome you're trying to assemble, the length of the reads, and the number of reads you have. 

Some genomes, like maize, wheat, or the human genome, are also harder to assemble because they are "repetitive". This means that there are lots of very similar sequences in different places in the genome. So when you take a read from one of these places, you are uncertain which one of these very similar regions it comes from. These repetitive regions are hard to resolve unless you have very long reads or some parallel information, so they also lead to gaps in sequence. Such regions will also tend to be "collapsed", meaning that you only have one contig representing a repeat that should actually be present as several contigs with different locations in the assembly.

Sources of parallel information that are helpful are proximity ligation (methods such as Hi-C), genetic maps from crosses, or optical mapping. These orthogonal sources of information express relationships between contigs in terms of their closeness on a chromosome. Here is a paper with more information on these topics. Recently, long read technologies such as PacBio or nanopore sequencing are starting to read through large repeats, but they are still usually not reliable enough to fully assemble even smallish genomes "telomere-to-telomere".

So, if there is a recipe for localizing/anchoring/scaffolding fragmented assemblies, here is roughly what can be done:


get more reads
get longer reads
get orthogonal information about contig placement (e.g. proximity ligation, genetic maps, a closely related assembly, etc.)


Hope that helps.