Is it Honey Bee or HoneyBee? Bed Bug or Bedbug? House Fly or Housefly?

Why do entomologists spell some insect names differently? It’s related to taxonomy.