Probably onomatopoeic: compare Galician cocho (“pig”), French cochon (“pig”) or Macedonian кочина (kočina, “pigsty”).
Practice speaking and memorizing "cocho" and many other words and sentences in Portuguese.