Probably because they skim the grammar page on Wikipedia or just deduce the grammar rules from usage. Latter works better in "nearer" languages. Former is often surprisingly effective. ;)

Honestly, though, beats me. I never found Duolingo useful for learning much of anything. ??‍♀