Where does “ばか” come from?

Words derived from “ばか