Science claims the noise is possibly due to the similarities between feline and canine larynxes, tracheas and other such biological things.
But the real reason these cat sounds occur has more to do with the ego.
If your cat is barking, he's obviously casting shade on the primitive language of a dog.