lat. castellum „Kastell, Fort, Festung” >dt. Kastell >engl. castle, frz. château ; ;
The arrow ">" does not always mean an etymological derivation.
Sometimes it may be just a conjecture (even a refuted one), or an error.
Take the tree as a suggestion for lookup,