@Fairyhamet
The ald legends say :
Because of old writing machines. The layout of keyboard is directly derived from it.
The goal is simple : If you type too quickly on two keys whire are too close, they will block each other.
English users had their qwerty mapping and a lot of people were content with it. But french peoples decided to make their own mapping.