Unknown. Possibly from Occitan casebre or from casa + -ebre.
Practice speaking and memorizing "casebre" and many other words and sentences in Portuguese.