Why can the feminine singular «عَاكِفَةً» describe «الْخَيْلَ»?

ʿAmr ibn Kulthūm: Address to Abā Hind, Tribal Pride and the Mill of War (Verses 23–38)