The academic field concerned with reading illegible manuscripts is palaeography. As the name implies, only deciphering old manuscripts is apparently included: as palaeographers, we are not trained in deciphering modern handwriting, for better or worse. This is probably because modern manuscripts are less likely to contain information required for academic research, although one wonders about, say, the letters and notebooks of famous writers, which are often difficult to read.
The way one deals with an illegible manuscript is by first collecting what information one has about the context. Do we know who wrote it? Where was it written? When? What do we know about the situation pertaining to the manuscript? If, for example, we know that a certain document deals with the transfer of land near Oxford into the hands of the bishop, this will help us tremendously, because we have a better idea of what to expect. Words like "land" will be primed in our minds.
The second thing to do is to "read" through the entire document, or at least the first page, to see what we can read. Usually at least a few words or letters are legible enough, even if the beginning is not.
Another thing that helps is background knowledge about the formulae commonly used in the genre. Many legal documents in Latin, for example, start with "In nomine dei amen". If we see something at the beginning of the first page that might possibly resemble these words in some way, this may be used as a starting point. We will then know what one version of the e used in the document looks like, and of an o, an a, etc. Then we can try and find more instances of these letters elsewhere.

Here it says IN NOMINE S[AN]C[T]E ET IND[IVID]UE TRINITATIS; once we know that the first words are likely to be something like this, it becomes much easier.
Lastly, knowledge of common (or, better, rare) letter and character shapes of the time helps a great deal. That comes with experience, and from reading illustrated guides.
There are some great dictionaries of scribal abbreviations, letter shapes, and other marks. For Latin and Italian, there is the phenomenal Cappelli, which can be browsed on line at the University of Cologne. The main part of the book is the Wörterbuch der Abkürzungen (this is the German translation). Each letter starts with a list of the twenty or so most common shapes that the letter could take in the Middle Ages:

Since Western-European writing has always been based on Latin, many abbreviations were used in all countries using the Latin alphabet, like modern &, which is a ligature of Et, Latin for "and". No doubt Cyrillic was partly influenced by Greek conventions; I have no idea about Chinese, but I am sure manuals and dictionaries exist. For whichever alphabet or character set one wants to study, there will be books teaching various techniques with many examples. And there are also countless websites providing lessons. If you have a practical problem regarding an older manuscript or print in Latin script, ping me in the English or Linguistics room, and could try to help you.
As to modern handwriting, the same techniques mostly apply. The only problem is that there is even less uniformity now than in the Middle Ages, when a scribe would at least follow some local scribal tradition. The same applies to your question why some people can read a certain manuscript while others cannot: they may be more used to a certain style, they might have more information about the background of the person who wrote it, or they might just be more talented.
An important approach to a cursive hand that is difficult to read is to follow the ink (or other pigment) in chronological order. That is, when looking at a letter or character, one tries to determine where the scribe first touched the paper (or parchment, papyrus, wax, clay, wood...), which line or curve was drawn first, which next, which last. Doing so consciously can sometimes be just enough to realise what the scribe was doing.

This is from a Latin document presumably written in the 14th century. Consider the third, long letter. It looks a bit like a long, vertical, pointy semi-oval, with a short horizontal line across, and a diagonal thingy at the top right. When using a quill, a line drawn down is usually thicker than up. Looking at the thin left half of the oval (2), you will assume that the thick, right half of the oval (1) must have gone down, the left half up. Similarly, a line from left to right is thicker than one drawn toward the left. The short, thick, diagonal line at the top (3) must have been drawn downward and to the right. This means that the main vertical line and the short diagonal line must have been drawn in separate strokes. As to the horizontal line (4), where a short horizontal line crosses a long vertical line, we usually draw the vertical line first, as in our modern letters t and f. So he must have begun at the top, drawn the vertical line downwards, and up again to the left, touching the starting point and closing the oval. Then he either lifted his quill, or he continued to draw the "flag", the thick diagonal line that goes from the top downwards to the right. Then he raised his quill to draw the horizontal line from left to right, continuing on into the next letter.
One usually begins a stroke with an important part of a letter, whereas a decorative or connecting flourish is more likely to occur at the end of a stroke. All this taken together leads to the conclusion that this letter must be an f, and the word Infinita.