زَيْدٌ and عُمَرُ are both personal names, yet their inflection differs.
Zayd is normally fully declinable: «مَرَرْتُ بِزَيْدٍ».
ʿUmar is a diptote: «مَرَرْتُ بِعُمَرَ».
Why? The book uses ʿUmar as its example here. Traditional grammar explains its diptote status through proper-name status (ʿalamiyyah) and morphological deviation (ʿadl). The full taxonomy will be treated later.