Why does Zayd take kasra in مَرَرْتُ بِزَيْدٍ?

Munṣarif and Ghayr Munṣarif — Definitions, Causes and Parsing