Where does “masak” come from?

Words derived from “masak