I’d heard of Black Clover but have never watched or read it so the names are definitely a coincidence! I just went and looked the characters up and was very surprised that not only does the series have two characters with the same name (though only sort of in Nero’s case from what I read on the wiki), but they’re even main/major characters with a close bond, haha.
For my fankids, I really did just pick two names that I thought were nice, that’s my whole reasoning. Asta’s nickname was mainly to differentiate her from the canon character Astrid, and also since I think the name is cute, and then Nero got his name/nickname since the rest of his family have a longer name + nickname, so the names all flowed together a bit better. I find the accidental parallels hilarious though!