مَرَرْتُ بِزَيْدٍ — I passed by Zayd.
مَرَرْتُ بِأَحْمَدَ — I passed by Aḥmad.
The preposition بِـ governs the genitive in both sentences. Zayd takes kasra with tanwīn, while Aḥmad takes fatḥa without tanwīn.
Thus genitive case does not always entail an overt kasra.