Was Kosher in effect when the Genesis story actually took place?
No. But everything ate plants. Humans and animals all ate plants until they left the Ark.
God told them they can eat meat at that point.
Even Tigers didn’t eat meat. Everything ate plants, grasses, etc.