What you want is historical linguistics. This should start you off: Wikipedia!. Basically, language change follows certain "rules" - speech and phonemes tend to change in certain set ways, towards easier-to-pronounce forms. However, since changing phonemes sets of chain reactions, you keep getting forms that are hard to pronounce, so it keeps changing around and around.