because it isn't. It is a different genus. It is similar to the cobra but there are enough differences to put them in a separate.
However I don't know the biology behind placing animals in genus. Is it arbitrary or is there certain criteria needed to dictate when some animal belongs to one group or another?