Probably ultimately from Latin castra (“military camp”).
Practice speaking and memorizing "Castro" and many other words and sentences in Spanish.