What is the syntactic function of ʿillatun in kānat bi-l-samāʾ ʿillah?

Kitab al-Sawm: Eid Crescent Sighting and Testimony