Where does “馴れ付く” come from?

Words derived from “馴れ付く