What changes between yamīlu ilayhi and yamīlu ʿanhu?

The Kūfan Maqāmah: A Stranger at the Door after Midnight