Well at first people named things for how they looked, for example, the heart has a heartlike shape. Eventually scientists started using Greek and Latin roots and such in names to prevent confusion.
It can be a variety of things. such as the scientist name or last name. they could name it based on what it looks like. or name it based on what it sounds like. Or they could get an inspiration of some sort to name it that. i hope this helps