Language family
For example, French and Spanish both come from Latin. Latin was spoken a long time ago, and some of the people who spoke it started to speak different ways - for the word "good", one group started saying "bueno" while another group started saying "bon". Most words are said a little differently in Spanish and French, so the two are called different languages.