How hurricanes came to be given female, male names

Idalia made landfall in Florida as a hurricane and has moved through Georgia
Idalia made landfall in Florida as a hurricane and has moved through Georgia