Goblins, hobgoblins, and bugbears are three sexes of the same species. Traditionally, all goblins are male, all hobgoblins are female, and bugbears are non-binary but in a traditional set-up are nursemaids and guardians (since hobgoblins don’t nurse their children).
Edit: I said “traditionally”...