Why it is खाती and not खाता?
Both are fine. It's खाती if the speaker is female and खाता if male.
Then Duolingo needs to mark some how that the speaker is female or accept both.
If खाता is not accepted, you should report it if you see the sentence again.
It manily depends on context
I eat tomatoes