David was in the top 1000 girl's names decades ago, but not now. The reason is the same as with
Jessica (and many other names); back in the old days, gender mix-ups when accumulating statistics were common. Today, with better technology, such mix-ups happen much less often. That's why, contrary to what you once thought, names like
Michael and
James were once in the top 1000 girl's names, but not anymore.