Why is Zayd genitive in jiʾtu maʿa Zaydin?

Al-Mafʿūl Maʿahu: Accompaniment and Coordination