Why is الْعَصَا genitive in مَرَرْتُ بِالْعَصَا?

Noun Case Class 7 — Maqṣūr and Nouns with Possessive Yāʾ