It's all about "temperament" (qv). Some notes fit together; others, with the same names, don't seem to. Some instruments are stuck with the notes they're tuned to; others, including the voice, can modify the notes to sound in tune. (Given a skilful performer!). And there are many "in tunes", depending on the desired effect.